Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Ubuntu java¿ª·¢»·¾³´î½¨

jdkµÄ°²×°
1¡¢´Ójava.sun.com¸ãÏÂjdk×îеİ汾£¬Ò»°ãÎÒÃÇÓÃ1.6°æ±¾µÄ£¬ÏÂÔØbin¸ñʽµÄjdk£¬¼Ù¶¨ÏÂÔØµÄÎļþÃûΪjdk-6u20-linux-i586.bin¡£
2¡¢chmod u+x jdk-6u20-linux-i586.bin;È»ºó  ./jdk-6u20-linux-i586.bin ½âѹ£¬¼Ù¶¨½âѹºóµÄÎļþ¼ÐΪ jdk1.6_20;
3¡¢ÔÚ/usr/local/  ½¨Á¢Ò»¸öinstallµÄĿ¼£¬ È»ºó°Ñ½âѹºóµÄjdkÎļþcopyµ½ installĿ¼ÖУ¬sudo mv ~/jkd1.6_20 ./install/
      sudo ln -s ./install/jkd1.6_20 java
      Õâô×öÊÇΪÁË·ÀÖ¹jdk°æ±¾Éý¼¶£¬ÎÒÃÇÖ»ÐèÒª¸ü¸ÄÏÂÈíÁ¬½Ó¾ÍºÃÁË¡£
4¡¢ÉèÖû·¾³±äÁ¿¡£
      sudo vi /etc/profile ×îºóÃæÌí¼Ó
      export JAVA_HOME=/usr/local/java
      export PATH=$JAVA_HOME/bin:$PATH
      export CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar
5¡¢ ×îºó²»ÒªÍü¼Ç°Ñ¹«Ë¾Á½¸ö°²È«Ïë¹ØµÄjar°ü Ìæ»»µ½ÕâÀï /usr/local/java/jre/lib/security
svn °²×°
1¡¢ wget http://subversion.tigris.org/downloads/subversion-deps-1.6.2.tar.gz
       wget http://subversion.tigris.org/downloads/subversion-1.6.2.tar.gz
2¡¢ $ tar xvzf subversion-1.6.2.tar.gz;tar xvzf subversion-deps-1.6.2.tar.gz;
3¡¢ sudo apt-get update
       sudo apt-get install autoconf
       sudo apt-get install libtool
       sudo apt-get install openssl
       sudo apt-get install libssl-dev
4¡¢ ½øÈësvnµÄ½âѹĿ¼
      ./autogen.sh
      ./configure
      sudo make clean
      sudo make
      sudo make install
5¡¢ Ñé֤Ϡ¿´¿´okÁ˲»£¿
      svn --version
      good luck!!!
svn ²å¼þ°²×°
1¡¢ ¸ãÏÂsvnµÄ²å¼þ ´ÓÕâ¸öÍøÕ¾ÉÏ£ºhttp://subclipse.tigris.org/
2¡¢ ÏÂÔØÏÂÀ´ºóÊǸözipÎļþ  chmod u+x site-1.6.10.zip
   unzip site-1.6.10.zip -d sit


Ïà¹ØÎĵµ£º

JavaÖи÷ÀàCache»úÖÆÊµÏÖ½â¾ö·½°¸

ÔÚJavaÖУ¬²»Í¬µÄÀà¶¼ÓÐ×Ô¼ºµ¥¶ÀµÄCache»úÖÆ£¬ÊµÏֵķ½·¨Ò²¿ÉÄÜÓÐËù²»Í¬£¬ÎÄÕÂÁоÙÁËJavaÖг£¼ûµÄ¸÷ÀàCache»úÖÆµÄʵÏÖ·½·¨£¬Í¬Ê±½øÐÐÁË×ۺϵıȽϡ£
OSCache
OSCacheÊǸöÒ»¸ö¹ã·º²ÉÓõĸßÐÔÄܵÄJava EE»º´æ¿ò¼Ü£¬OSCacheÄÜÓÃÓÚÈκÎJavaÓ¦ÓóÌÐòµÄÆÕͨµÄ»º´æ½â¾ö·½°¸¡£
OSCacheÓÐÒÔÏÂÌØµã£º»º´æÈκζÔÏó£¬Äã¿ÉÒÔ²»ÊÜÏÞÖÆµ ......

JAVAÖеÄÎ»ÒÆ²Ù×÷ >> >>

ÖÐС
JavaÖй²ÓÐÈý¸öÒÆÎ»²Ù×÷·û£¬·Ö±ðÊÇ£º
<<£º×óÒÆ²Ù×÷£¬ËùÓвÙ×÷ÊýÏò×óÒÆ¶¯£¬Ã¿ÒÆÒ»Î»×îÓÒ±ßÓÃ0²¹³ä
>>£º´ø·ûºÅλÓÒÒÆ£ºÁ¬Í¬·ûºÅλһÆðÓÒÒÆ£¬Ã¿ÒÆÒ»Î»×î×ó±ßÓ÷ûºÅλ²¹³ä
>>>£ºÎÞ·ûºÅÓÒÒÆ£ºÁ¬Í¬·ûºÅλһÆðÓÒÒÆ£¬Ã¿ÒÆÒ»Î»×î×ó±ßÓÃ0²¹³ä
ÒÆÎ»²Ù×÷·ûÖ»ÄÜ×÷ÓÃÓÚÕûÊýÀàÐÍ£¬¼´byte£¬short£¬char£¬i ......

java¶ÁÈ¡propertiesÊôÐÔÎļþÖµ·½·¨

ÔÚʹÓÃhibernate»òÕßspringµÄʱºò£¬ÎÒÃÇÍùÍùͨ¹ýÅäÖÃÎļþÅäÖÃÊý¾Ý¿âÁ¬½ÓÊôÐÔ¡£µ«Õâ´ÎÏîÄ¿Öв¢Ã»ÓÐÓõ½hibernateºÍspring£¬Ö»Óõ½ÁËstruts2¡£ÒªÈçºÎʵÏÖͨ¹ý¶ÁÈ¡ÎļþÅäÖûñÈ¡ÊôÐÔֵĨ£¿ResourceBundleÕâ¸öÀà¿ÉÊÇʵÏÖ¶ÁÈ¡propertiesÎļþÀ´»ñȡֵ
ÔÚjavaÖУº
public final static Object initLock = new Object();
privat ......

java ¼Ì³ÐÖеĹ¹Ôì·½·¨


²Î¿¼´úÂë:
class SuperClass {
private int n;

SuperClass() {
System.out.println("SuperClass()");
}

SuperClass(int n) {
System.out.println("SuperClass(" + n + ")");
this.n = n;
}
}
class SubClass extends SuperClass {
private int n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ