java¼¯³É¿ª·¢¹¤¾ßEclipseÓënetbeans±È½Ï
EclipseÓënetbeansʹÓÃÆÀ²â
½çÃæ
1 ÔÚ½çÃæÉÏnetbeans±È½ÏƯÁÁ,ÓѺá£µÃ·Ö 9
2 EclipseÓкÜÇ¿µÄ¶¨ÖÆÐУ¬Ã»netbeansÃÀ¹Û¡£ÊʺϸßÊÖ µÃ·Ö 8
¹¦ÄÜ
²»×ö±È½Ï
̸һЩ¸öÈË¿´·¨:ÔÚ¹¦ÄÜÉÏEclipseÖ§³Ö´óÁ¿µÄÀ©Õ¹,²»½ö½öÊÇÒ»¸ö java¿ª·¢¹¤¾ß,¸ü¿ÉÒÔÓÃÀ´¿ª·¢ c c++
phpµÈµÈ,¹¦ÄÜ¿ÉÒÔÎÞÏÞµÄÀ©Õ¹.netbeansÒ²Ö§³ÖÀ©Õ¹,¿ÉÒ²ÏÖÔÚÀ©Õ¹µÄÊýÁ¿ÓÐÏÞ,Ò²Ö»ÊÇÒ»¸öjava¿ª·¢¹¤¾ß.
²»¹ýnetbeans¼¯³ÉtomcatÈÃÈËÊ¡È¥Á˲»ÉÙÅäÖõÄÂé·³,¶øÇÒ°²×°ºÃ¾ÍÖ§³ÖͼÐλ¯±à³Ì,²»ÏñeclipseÖÁÉÙÐèҪϸöve²Å³É.ĬÈÏ°²×°ºÃºó
netbeansÖ§³Öweb¿ª·¢,eclipseÔòÐèÒª×Ô¼ºÔÚ°²×° ,ÅäÖÃ.³õѧÕß´ÓÒ×ÓÃÐÔÉÏ¿¼ÂÇÍƼönetbeans.
Ìå»ý¼°°²×°ÄÑÒ׶È
1 netbeans°²×°ÈÝÒ×,¹Ù·½Ìṩ°²×°³ÌÐò,ÊǸöbinÎļþ ÔËÐкó¾ÍÏñÔÚwindowsÏ°²×°³ÌÐòÒ»Ñù ×ÛºÏµÃ·Ö 9
2 EclipseÏÂÔغó½âѹºó¾Í¿ÉÒÔʹÓÃÁË
Ïà±Ènetbeans»¹Òª¼òµ¥µãµÄ,EclipseËùÓеIJå¼þÒ²Êǽâѹ·Åµ½EclipseϵÄfeatures pluginsϾͿÉÒÔÁË ×ۺϵ÷Ö
10
Ô¶ÐÐËÙ¶ÈÓëÏûºÄ×ÊÔ´
1 netbeansÔËÐÐËٶȱȽϿÉÒÔ kubuntu 512µÄÄÚ´æûÓиоõµ½ºÜ¿¨,Á÷³©µÄÔËÐÐ µÃ·Ö 9
2 Eclipse¼Óve ºÜ¿¨,ÍÐÈëÒ»¸ö¿Ø¼þµ½½çÃæÉÏ ÒªµÈºÃ¾Ã²ÅÄÜÏÔʾ³öÀ´ µÃ·Ö 6
×ÛºÏ
³õѧÕß±©Á¦ÍƼönetbeans ÏàПßÊÖ×Ô¼º»áÑ¡ÔñÊÊÓõÄ
Ïà¹ØÎĵµ£º
One:14109
Two:14000
Three:15141
four:14297
package com.zbalpha.test;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class ListTest {
public static void main(String args[]){
List<Long> ......
Ê×ÏÈÊÇbuild sample
Óöµ½µÄµÚÒ»¸ö´íÎó
ADCDMST:/Z19/usr/lpp/cicsts/cicsts32/samples/dfjcics: >make -f makefile jvm
make: Error -- FSUM9383 Configuration file `/etc/startup.mk' not found
ÐÞ¸´£ºcp /samples/startup.mk /etc/startup.mk
export JAVA_HOME=/Z19/usr/lpp/jav ......
¼×¹ÇÎÄÒѾÍê³ÉÁ˶ÔSUN¹«Ë¾µÄÊÕ¹º£¬ÓÚ1ÔÂ27ÈÕ·¢²¼Á˶ÔSun¸÷ÏîÒµÎñµÄÕûºÏ¹æ»®¡£×ÜÌåÉÏ˵£¬OracleÒª³ÉΪÈíÓ²¼þÒ»Ì廯µÄÕûÌå½â¾ö·½°¸µÄ³§ÉÌ¡£ ÒÔϾÍÆä¶Ô±¸ÊܹØ×¢µÄJava·½ÃæµÄ²ßÂÔ×ö¸ö½éÉÜ¡£
Java SE:
1£©ÍƳöJDK SE 7£¬ Ëü½«°üÀ¨¶à¸öÐµĹ¦ÄÜ£¬ÈçÌá¸ß¿ª·¢ÈËÔ±µÄЧÂÊ£¬Ìṩ¸ßÐÔÄÜ£¬¶Ô¶àºËоƬµÄÖ§³ÖµÈ¡£
2£©SunµÄ ......
ºÃ¶à´óÐ͵ÄÆóÒµÏîÄ¿¶¼ÒªÓõ½¸ß¼¶JDBCÁ¬½ÓÊý¾Ý¿âÅäÖø߼¶JDBCʵÀýÈçÏ£º
µÚÒ»£ºÅäÖÃTomcatϵÄconfÎļþ¼ÐϵÄcontext.xmlÎļþ
<?xml version='1.0' encoding='utf-8'?>
<Context>
<Resource name="jdbc/Ãû³Æ" auth="Container" type="javax.sql.DataSource"
maxActive="10" maxIdle=" ......
»¨Á˵ãʱ¼äÈ¥Ñо¿£¬Ò²ËãСÓÐÊÕ»ñ£º
Arrays.sort()·½·¨ÔÚJDKÀïÓкܶ࣬ÆäÖÐ×ÅÖØ˵ÏÂ
static void
sort(Object[] a)
static
<T> void
sort(T[] a, Comparator<? super T> c)
Ç°Õß²ÎÊýÖеÄÊý×éaÖеÄËùÓÐÔªËرØÐëʵÏÖcomparable½Ó¿Ú£¬¿ÉÒÔÖØÔØcomparableµÄ·½·¨compareTo£¨£©¡£
ºóÕß² ......