JAVA»·¾³±äÁ¿µÄÅäÖÃ
JAVAµÄ³ÌÐò¿ª·¢£¬µÚÒ»²½ÊÇÕë¶ÔJAVA´î½¨ÆäÓ¦Óÿª·¢Æ½Ì¨¡£¹ØÓÚJDKµÄÏÂÔØÓë°²×°Ôڴ˲»¹ý¶à½éÉÜ£¬ÍøÉÏÏà¹ØÁ´½Ó½Ï¶à¡£Æ½Ì¨µÄ´î½¨Ò»¸ö»ù´¡²½ÖèÇҹؼü²½Öè¾ÍÊÇ£ºjava»·¾³±äÁ¿µÄÅäÖá£ÍøÉϹØÓÚJAVAµÄ»·¾³±äÁ¿ÉèÖ÷½·¨ºÜ¶à£¬Æð³õ½Ó´¥JAVA¿Ï¶¨ÓÐÐí¶à²»Ã÷°×µÄµØ·½£¬ÎÒÃÇÐèÒª°Ñ²½Ö辡Á¿µÄ¼ò»¯£¬±¾È˾õµÃ±È½ÏÓÐЧµÄ·½·¨ÈçÏ£º
Ò»¡¢windows ƽ̨ÏÂjava»·¾³±äÁ¿µÄÅäÖÃ
µã»÷ ÎҵĵçÄÔ -¡·ÊôÐÔ-¡·¸ß¼¶-¡·»·¾³±äÁ¿
È»ºó ÔÚ´ËÖ÷Òª±à¼Á½¸ö±äÁ¿classpath ºÍpath ¡£Í¨³£Çé¿öϱäÁ¿Ãû£ºclasspath²»´æÔÚ£¬ËùÒÔÎÒÃDZØÐëн¨Ò»¸öclasspath
½Ó×Å Ìîдclasspath ºÍpath µÄ±äÁ¿Öµ¡£
classpath µÄ±äÁ¿ÖµÎª£º .;C:\Program Files\Java\jdk1.6.0_14\lib\dt.jar;C:\Program Files\Java\jdk1.6.0_14\lib\tools.jar
path µÄ±äÁ¿ÖµÎª£º ;C:\Program Files\Java\jdk1.6.0_14\bin
ºÃ£¬ÉèÖÃÍê³ÉÒÔºóµã»÷ È·¶¨¡£
´Ëʱ£¬±äÁ¿ÅäÖÃÍê±Ï¡£
×¢Ò⣺ a ×¢Òâ: Ç°ÃæµÄ“.;”·ûºÅ£¬±ØÐëÌîд¡£
b ÄãÒª½« C:\Program Files\Java\jdk1.6.0_14 ¸ÄΪÄãµÄJAVA°²×°Ä¿Â¼¡£
¶þ¡¢linux ƽ̨ÏÂjava»·¾³±äÁ¿µÄÅäÖãº
Ê×ÏÈ °²×°JDKµ½Ä¿Â¼/usr/java/jdk1.6.0_14
È»ºó ÓÃvi±à¼Æ÷´ò¿ª“profile”Îļþ vi /etc/profile
½Ó×Å ÔÚºóÃæÌí¼ÓÒÔÏÂÄÚÈÝ£º
¡¡¡¡¡¡¡¡¡¡¡¡JAVA_HOME=/usr/java/jdk1.6.0_14 ¡¡¡¡¡¡¡¡¡¡
¡¡PATH=$JAVA_HOME/bin:$PATH
¡¡¡¡¡¡¡¡¡¡¡¡CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
¡¡¡¡¡¡¡¡¡¡¡¡export JAVA_HOME
¡¡¡¡¡¡¡¡¡¡¡¡export PATH
¡¡¡¡¡¡¡¡¡¡¡¡export CLASSPATH
×îºó ±£´æ²¢Í˳övi ±à¼Æ÷ ÖØеǼ£º½øÈëviµÄÃüÃûģʽ°´ wq£¡
Ïà¹ØÎĵµ£º
ÏÈÌù´úÂë°É
¸Ðл£ºhttp://xranming.blog.163.com/blog/static/24204952009914104148872/
http://www.diybl.com/course/3_program/java/javajs/20090303/157541.html
1¡¢java´úÂ룺
Ö÷Òª²ÉÓÃdomÀ´½øÐвÙ×÷
java¶Ôxml²Ù×÷ÓÐËÄÖÖ·½·¨£ºhttp://passmatlab.bokee.com/3455905.html
package test;
import java ......
CoreJava¶àÏß³Ì
Ï̵߳ĸÅÄ
Ïß³ÌÖ¸½ø³ÌÖеÄÒ»¸öÖ´ÐÐÁ÷³Ì£¬Ò»¸ö½ø³Ì¿ÉÒÔ°üº¬¶à¸öÏ̡߳£
ÿһ¸ö½ø³Ì¶¼¶ÀÏíÒ»¿éÄÚ´æ¿Õ¼ä¡£Ã¿¸ö½ø³Ì¶¼ÐèÒª²Ù×÷ϵͳΪÆä·ÖÅä¶ÀÁ¢µÄÄÚ´æµØÖ·£¬¶øͬһ½ø³ÌÖеĶà¸öÏß³ÌÔÚͬһ¿éµØÖ·¿Õ¼ä¹¤×÷£¬ËûÃǹ²ÏíÒ»¿éÄÚ´æºÍ×ÊÔ´¡£
javaÖÐÓÐÁ½Öз½·¨´´½¨Ò»¸ö¶àÏß³ÌÀࣺ
1¡¢¼Ì³Ðjava.lang.ThreadÀ࣬¸²¸ÇT ......
¿Î³ÌÄÚÈÝ
¸ü¼ÓʵÓÿÆѧµÄJava»ù´¡¿Î³Ì
¾ßÓÐÔúʵµÄ±àÂ빦µ×ÊÇÒ»¸öJava¹¤³Ìʦ±Ø±¸µÄÄÜÁ¦£¬ÎÒÃÇÁ¦Çó´ÓѧԱ½Ó´¥JavaµÄµÚÒ»ÌìÆð¾ÍÅàÑøÆäÐγÉÕýȷ˼¿¼ÎÊÌâµÄ·½Ê½¡£ÎÒÃǵĹØ×¢µã²»½ö½öÔÚÓÚ¶Ôij¸öÀà¿â£¨API£©µÄÕÆÎÕ£¬¸ü¶àµÄÊÇÏòѧԱչʾÆóÒµÖÐÕæÕýÒªÖØÊÓµÄÎÊÌ⣬ÀýÈçÒì³£ÈçºÎ´¦Àí¡¢Ëã·¨ÈçºÎÓÅ»¯µÈ¡£Í¬Ê±£¬ÎÒÃÇ×¢ÖØÈÃѧԱÑø³ÉÁ¼ºÃµ ......
Java ¿ª·¢ÎªÊ²Ã´ÐèÒª UML
¡¡¡¡ÖªµÀ UML Ôì³ÉÁËÔõÑùµÄ¾ÖÃæ´ó»ìÂÒÂð£¿ÖªµÀʲôÑùµÄ¹¦ÄÜÊÇ UML ÓµÓе« JAVA ²»¾ß±¸µÄÂð£¿ÖªµÀÎÒÃÇΪʲôÐèÒª³ý JAVA ÍâµÄÁíÒ»ÖÖµçÄÔÓïÑÔÂð£¿UML ²¢²»½ö½öÖ»ÊÇ JAVA »òÕßÆäËüʲôÓïÑÔµÄÌæ´úÆ·¡£UML ÊÇÃæÏò¶ÔÏóµÄ·ÖÎö¼°Éè¼ÆµÄ×¢ÊÍ¡£UML ÊǶÀÁ¢ÓÚÄÇЩ´«Í³Éè¼ÆÓïÑÔÖ®ÍâµÄÒ»ÖÖÓïÑÔ¡£ÒòΪ UML ......
°²×°ÓëÉèÖÃJDK
Sun JDKµÄ°²×°»ù±¾ÉÏÓÐÁ½ÖÖ·½Ê½:
1. ͨ¹ýUbuntuÌṩµÄ°ü¹ÜÀí¹¤¾ß½øÐа²×°
UbuntuÔÚÆä°ü²Ö¿âÀﶼ°üÀ¨ÓÐJDKµÄ°²×°£¬Ö»Òªsources.listÉèÖÃÕýÈ·£¬Í¨
¹ýapt-get, aptitude, Synaptic Package
ManagerµÈ¶¼ÄÜ°²×°£¬¶øÇÒÏà¹ØµÄÉèÖÃÒ²ÈÝÒ׵öࣻÔÚUbuntuµÄÐÂ
·¢²¼°æ±¾Àﶼ´øÁËJDK5.0,ºÍJDK6.0µÄ°²×°Ö§³Ö,¶øÇÒ ......