ºìÁªLinuxÃÅ»§
Linux°ïÖú

ÔÚ Linux Öа²×° JAVA ÐéÄâ»ú

·¢²¼Ê±¼ä:2006-01-23 15:52:46À´Ô´:ºìÁª×÷Õß:wide
¡¡ÏÂͼÖУ¬Äú¿´µ½µÄ j2sdk-1_4_2_09-linux-i586.bin Îļþ¾ÍÊÇ Linux ²Ù×÷ϵͳÖÐµÄ JAVA ÐéÄâ»ú°²×°Îļþ¡£



¡¡¡¡ÏÖÔÚÎÒÃÇ¿ªÊ¼×Ô¼ºµÄ°²×°¹ý³Ì¡£Ê×ÏÈ£¬Çë´ò¿ª Linux Öնˣ¬ÊäÈë cd /mnt/wind/LinuxÈí¼þ/JAVAÐéÄâ»ú£¬½Ó×Å°´Ï»سµ¼ü¡£

¡¡¡¡cd ÃüÁîÊÇÓÃÀ´ÈÃÖն˽øÈëij¸öÎļþ¼Ð¡£×÷ÓÃºÍ DOS Ï嵀 cd ÃüÁîÍêÈ«Ò»Ñù¡£¡°/mnt/wind/LinuxÈí¼þ/JAVAÐéÄâ»ú¡±Ä¿Â¼ÊÇÎÒÃÇ´æ·Å j2sdk-1_4_2_09-linux-i586.bin ÎļþµÄ¾ø¶Ô·¾¶¡£



¡¡¡¡È»ºó£¬ÏÂÒ»¸öÃüÁîÊÇ ./j2sdk-1_4_2_09-linux-i586.bin£¬°´Ï»سµ¡£ÃüÁî¡°./¡±ÊÇÒâ˼ÊÇÖ´ÐУ¬ÅóÓÑÃÇ¿´¿´ÎÒÃÇÏÖÔÚÖ´ÐеÄÊÇÄĸöÎļþÄØ£¿µ±È»ÊÇ ./j2sdk-1_4_2_09-linux-i586.bin ÁË¡£



¡¡¡¡ÏÖÔÚÅóÓÑÃÇ¿´µ½µÄÓÖÊÇÒ»¸öºÜÀÏÌ׵ĽçÃæ¡£°²×°³ÌÐòÔÚѯÎÊÄúÊÇ·ñ×ðÊØÐí¿ÉЭÒé¡£Çë°´Ï»سµ¼ü£¬»ò¿Õ¸ô¼ü¡£Ò»Ö±°´×Å£¬Ò»»áÔÙ·ÅÊÖ¡£Ðí¿ÉЭÒé»áÍùÏ·­Ò³¡£



¡¡µÈÁËÒ»»á£¬ÄúÖÕÓÚ¿´ÍêÁËЭÒ飬³öÏÖÒ»ÐÐ×Ö£ºDo you aggree to the above license terms? [yes or no]

¡¡¡¡°²×°³ÌÐòÔÚÎÊÄúÊÇ·ñÔ¸Òâ×ñÊظղſ´¹ýµÄÐí¿ÉЭÒé¡£µ±È»ÒªÍ¬ÒâÁË£¬ÊäÈë¡°y¡±°´Ï»سµ¡£



¡¡¡¡°²×°³ÌÐò¿ªÊ¼½âѹËõ j2sdk-1_4_2_09-linux-i586.bin Îļþ¡£Ö±µ½Íê±Ï£¬ÕâÐèÒªÒ»»áʱ¼ä¡£µÈµ½ÓÖ³öÏÖÖն˵ÄÌáʾ·û£¬°²×°¾ÍÍê±ÏÁË¡£

¡¡¡¡ÅóÓÑÃÇÊDz»ÊǺÜÏëÖªµÀ×Ô¼ºµÄ JAVA ÐéÄâ»ú×°È¥ÄÄÁË£¿



¡¡¡¡ºÜ¼òµ¥£¬¾ÍÔÚ´æ·Å j2sdk-1_4_2_09-linux-i586.bin ÎļþµÄĿ¼¡£¿´µ½ÁË°É£¿



¡¡¡¡ÏÖÔÚ£¬ÎÒÃDzſªÊ¼ÕæÕýµÄ°²×°¹ý³Ì¡£Çë°Ñ¸Õ²ÅµÃµ½µÄ j2sdk1.4.2_09 Îļþ¼Ð¸´ÖƵ½ /usr/Local Ŀ¼Ï¡£ÎªÊ²Ã´°²·ÅÔÚÕâÀïÄØ£¿Æäʵ·ÅÔÚÄÄÀﶼһÑùµÄ¡£ÎÒÖ»²»¹ýÊÇÔÚ×ðÊØijÖÖÏ°¹ß¡£µ±È»£¬ÈκÎÈ˶¼¿ÉÒÔÓÐ×Ô¼ºµÄÏ°¹ß£¬Èç¹ûÄú¾õµÃ·½±ãµÄ»°¡£

¡¡¡¡È»ºó£¬ÊÇ×îÖØÒªµÄÒ»²½¡£Èç¹ûÄú°²×°ÁËÒ»¸ö JAVA Ó¦ÓÃÈí¼þ¡£Õâ¸ö JAVA Ó¦ÓÃÈí¼þÔõô֪µÀ JAVA ÐéÄâ»úÔÚÄÄÄØ£¿

¡¡¡¡Çë½øÈë /etc Ŀ¼£¬ÕÒµ½ profile Îļþ¡£ÓÃÈκÎÒ»¿îÎı¾±à¼­Æ÷´ò¿ª¡£ÔÚÎļþµÄ×îºó¼ÓÉÏÏÂÃæÕâ¶ÎÄÚÈÝ¡£

¡¡¡¡JAVA_HOME=/usr/local/j2sdk1.4.2_09 ¡¡¡¡

¡¡¡¡JRE=/usr/local/j2sdk1.4.2_09 ¡¡¡¡

¡¡¡¡CLASSPATH=$JAVA_HOME/lib:$JRE/bin:. ¡¡¡¡

¡¡¡¡PATH=$PATH:$JAVA_HOME/bin$JRE/bin:. ¡¡¡¡

¡¡¡¡export JAVA_HOME JRE CLASSPATH PATH



¡¡¡¡µ½ÏÖÔÚΪֹ£¬ÔÚ Linux ϵͳÖÐ JAVA ÐéÄâ»úµÄ°²×°Í겿Íê±Ï¡£

ÎÄÕÂÆÀÂÛ

¹²ÓÐ 212 ÌõÆÀÂÛ

  1. conqueror ÓÚ 2010-03-29 19:29:44·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  2. conqueror ÓÚ 2010-03-29 19:29:12·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  3. conqueror ÓÚ 2010-03-29 19:27:44·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  4. conqueror ÓÚ 2010-03-29 19:27:08·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  5. conqueror ÓÚ 2010-03-29 19:24:37·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  6. conqueror ÓÚ 2010-03-29 19:24:08·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  7. conqueror ÓÚ 2010-03-29 19:23:37·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  8. conqueror ÓÚ 2010-03-29 19:23:08·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  9. conqueror ÓÚ 2010-03-29 19:22:45·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  10. conqueror ÓÚ 2010-03-29 19:22:06·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  11. conqueror ÓÚ 2010-03-29 19:21:36·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  12. conqueror ÓÚ 2010-03-29 19:21:07·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  13. conqueror ÓÚ 2010-03-29 19:20:37·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  14. conqueror ÓÚ 2010-03-29 19:20:07·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  15. conqueror ÓÚ 2010-03-29 19:19:37·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  16. conqueror ÓÚ 2010-03-29 19:19:08·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  17. conqueror ÓÚ 2010-03-29 19:18:38·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  18. conqueror ÓÚ 2010-03-29 19:18:08·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  19. conqueror ÓÚ 2010-03-29 19:17:40·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  20. conqueror ÓÚ 2010-03-29 19:17:12·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  21. conqueror ÓÚ 2010-03-29 19:16:42·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  22. conqueror ÓÚ 2010-03-29 19:16:13·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  23. conqueror ÓÚ 2010-03-29 19:15:45·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  24. conqueror ÓÚ 2010-03-29 19:15:17·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  25. conqueror ÓÚ 2010-03-29 19:14:48·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  26. conqueror ÓÚ 2010-03-29 19:14:20·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  27. conqueror ÓÚ 2010-03-29 19:13:53·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  28. conqueror ÓÚ 2010-03-29 19:13:25·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  29. conqueror ÓÚ 2010-03-29 19:12:57·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  30. conqueror ÓÚ 2010-03-29 19:12:29·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  31. conqueror ÓÚ 2010-03-29 19:12:01·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  32. conqueror ÓÚ 2010-03-29 19:11:33·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  33. conqueror ÓÚ 2010-03-29 19:11:06·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  34. conqueror ÓÚ 2010-03-29 19:10:39·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  35. conqueror ÓÚ 2010-03-29 19:10:11·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  36. conqueror ÓÚ 2010-03-29 19:09:45·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  37. conqueror ÓÚ 2010-03-29 19:09:17·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  38. conqueror ÓÚ 2010-03-29 19:08:52·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  39. conqueror ÓÚ 2010-03-29 19:08:25·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡

  40. conqueror ÓÚ 2010-03-29 19:07:58·¢±í:

    ²»´í²»´íѧϰһÏ£¬¶¥...£¡