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

centOS5 ϵÄjava»·¾³ÅäÖÃ

µÚÒ»²½£º²é¿´Linux×Ô´øµÄJDKÊÇ·ñÒÑ°²×° £¨Ð¶ÔØcentOSÒÑ°²×°µÄ1.4£©
<1># rpm -qa|grep jdk ← ²é¿´jdkµÄÐÅÏ¢»òÖ±½ÓÖ´ÐÐ
»ò
# rpm -q jdk
»ò
# java -version
<2># rpm -qa | grep gcj ← È·ÈÏgcjµÄ°æ±¾ºÅ
<3># yum -y remove java-1.4.2-gcj-compat ← жÔØgcj
µÚ¶þ²½£º°²×°JDK
<1>´ÓSUNÏÂÔØjdk-1_5_0_14-linux-i586-rpm.bin»òjdk-1_5_0_14-linux-i586.bin
ÔÚ/usrÏÂн¨javaÎļþ¼Ð£¬½«°²×°°ü·ÅÔÚ/usr/javaĿ¼ÏÂ
# mkdir /usr/java
<2>°²×°JDK
# cd /usr/java
¢Ùjdk-1_5_0_14-linux-i586-rpm.binÎļþ°²×°
# chmod 777 jdk-1_5_0_14-linux-i586-rpm.bin ← ÐÞ¸ÄΪ¿ÉÖ´ÐÐ
# ./jdk-1_5_0_14-linux-i586-rpm.bin ← Ñ¡ÔñyesͬÒâÉÏÃæµÄЭÒé
# rpm -ivh jdk-1_5_0_14-linux-i586.rpm ← Ñ¡ÔñyesÖ±µ½°²×°Íê±Ï
¢Újdk-1_5_0_14-linux-i586.binÎļþ°²×°
# chmod a+x jdk-1_5_0_14-linux-i586.bin ← ʹµ±Ç°Óû§ÓµÓÐÖ´ÐÐȨÏÞ
# ./jdk-1_5_0_14-linux-i586.bin ← Ñ¡ÔñyesÖ±µ½°²×°Íê±Ï
µÚÈý²½£ºÅäÖû·¾³±äÁ¿
<1># vi /etc/profile
<2>ÔÚ×îºó¼ÓÈëÒÔϼ¸ÐУº
export JAVA_HOME=/usr/java/jdk1.6.0_10
export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$PATH:$JAVA_HOME/bin
<3># reboot ← ÖØÆô»úÆ÷ÅäÖÃÉúЧ


Ïà¹ØÎĵµ£º

JavaʼþÄ£ÐÍѧϰ£¨2£©

       µ±³ÌÐòµÄij¸öÄ£¿é±»µ÷ÓõÄʱ¿Ì²»È·¶¨£¬¾ÍÀàËÆÓڵȴýij¸öʼþµÄ·¢Éú¡£Õâʱ£¬¿ÉÒÔ¶¨Òå×Ô¼ºµÄʼþ½øÐÐÏàÓ¦µÄ´¦Àí¡£±ÈÈ磬µÈ´ýÓû§µÄÒ»´ÎÊäÈëµÈ¡£JavaµÄʼþÄ£ÐÍÒÀÀµÓÚίÍУ¬Í¨¹ý»Øµ÷·½·¨½øÐÐÏàÓ¦µÄʼþ´¦Àí¡£ÔÚʼþÔ´ÖУ¬»áÓÐfireXXXEvent()¾ÍÊǼ¤»îÏàÓ¦µÄʼþ£¬ÆäÖлá±éÀúʼþÔ´µÄ¼àÌýÆ ......

¹ØÓÚJavaÖÐ×Ô¶¨Òå°üµÄ´´½¨

ÎÒÔÚѧϰthinking in Java4 µÄʱºò£¬ÔÚ´´½¨×Ô¶¨Òå°üµÄʱºò£¬Åöµ½Á˺ܶà´íÎó£¬ÈÃÎÒÓôÃÆÁ˼¸Ì죬ͨ¹ýÔÚÍøÉϵÄ×ÊÁÏËÑË÷£¬°Ñ°üµÄ´´½¨¹ý³Ì¸ø´ó¼ÒÏêϸÁгöÀ´¡£
ÎÒÃÇÒÔthinking in Java4ÖеÄÀý×ÓΪÀý
´´½¨Á½¸öÀàVectorºÍList¡£½«±àÒëºóµÄVector.classºÍList.classÎļþ·ÅÔÚ°ünet.mindview.simpleÏÂ(¸Ã°üλÓÚc:\DOC\JavaT).
//Vec ......

JavaÖеÄÖµ´«µÝÓëÒýÓô«µÝ


Ò».Á½¸ö¸ÅÄî
ʵ¼Ê²ÎÊý(ʵ²Î):·½·¨µ÷ÓÃʱ±»´«ÈëµÄ²ÎÊý
ÐβÎ:·½·¨¶¨ÒåʱÉùÃ÷µÄ²ÎÊý
¶þ.ÈýÖÖ´«µÝ·½Ê½
1.»ù±¾Êý¾ÝÀàÐ͵ÄÖµ´«µÝ:
public static void main(String []args)
 {
  int i=10,j=5;
  tValue(i,j);
  System.out.println("i:"+i+"j:"+j);//´òÓ¡½á¹û:i=10,j=5
 } ......

JavaÀàÇó½âÒ»Ôª¶þ´Î·½³ÌµÄ¸ù

 Ù¡Ç¿ http://blog.csdn.net/microtong
 OakCMSÄÚÈݹÜÀíϵͳ http://www.oakcms.cn http://www.oakcms.net
Ò»Ôª¶þ´Î·½³Ìax2+bx+c=0£¬ÊäÈëa,b,cÈý¸öϵÊý£¬Çó½â·½³Ì£¬½á¹ûÓÐÈýÖÖÇé¿ö£ºÁ½¸öʵÊý¸ù¡¢Ò»¸öʵÊý¸ù¡¢Á½¸ö¸´Êý¸ù¡£
/**
 * Equation.java
 */
package cn.edu.uibe.oop;
/**
 * ¼ÆËã ......

JAVA¶ÁÈ¡CSV

Ê×Ïȵ½¸Ãhttp://ostermiller.org/utils/download.html µØÖ·ÏÂÔØcom.Ostermiller.util cvsµÄjar°ü¡£
public class CsvFileParser{
private LabeledCSVParser csvParser;//csv½âÎöÆ÷£¬¶ÔÓÚµÚÒ»ÐеıíÍ·ÐÅÏ¢£¬×Ô¶¯¼ÓÔØΪË÷Òý¹Ø¼ü×Ö
private int currLineNum = -1;//ÎļþËù¶Áµ½ÐÐÊý
private String[] currLi ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ