ºìÁª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 18:38:14·¢±í:

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

  2. conqueror ÓÚ 2010-03-29 18:37:56·¢±í:

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

  3. conqueror ÓÚ 2010-03-29 18:37:39·¢±í:

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

  4. conqueror ÓÚ 2010-03-29 18:37:23·¢±í:

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

  5. conqueror ÓÚ 2010-03-29 18:37:06·¢±í:

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

  6. conqueror ÓÚ 2010-03-29 18:36:48·¢±í:

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

  7. conqueror ÓÚ 2010-03-29 18:36:32·¢±í:

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

  8. conqueror ÓÚ 2010-03-29 18:36:14·¢±í:

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

  9. conqueror ÓÚ 2010-03-29 18:35:58·¢±í:

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

  10. conqueror ÓÚ 2010-03-29 18:35:42·¢±í:

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

  11. conqueror ÓÚ 2010-03-29 18:35:26·¢±í:

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

  12. conqueror ÓÚ 2010-03-29 18:35:10·¢±í:

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

  13. conqueror ÓÚ 2010-03-29 18:34:54·¢±í:

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

  14. conqueror ÓÚ 2010-03-29 18:34:38·¢±í:

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

  15. conqueror ÓÚ 2010-03-29 18:34:22·¢±í:

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

  16. conqueror ÓÚ 2010-03-29 18:34:06·¢±í:

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

  17. conqueror ÓÚ 2010-03-29 18:33:50·¢±í:

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

  18. conqueror ÓÚ 2010-03-29 18:33:35·¢±í:

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

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

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

  20. conqueror ÓÚ 2010-03-29 18:33:04·¢±í:

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

  21. conqueror ÓÚ 2010-03-29 18:32:49·¢±í:

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

  22. conqueror ÓÚ 2010-03-29 18:32:34·¢±í:

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

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

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

  24. conqueror ÓÚ 2010-03-29 18:32:04·¢±í:

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

  25. conqueror ÓÚ 2010-03-29 18:31:50·¢±í:

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

  26. conqueror ÓÚ 2010-03-29 18:31:35·¢±í:

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

  27. conqueror ÓÚ 2010-03-29 18:31:20·¢±í:

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

  28. conqueror ÓÚ 2010-03-29 18:31:05·¢±í:

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

  29. conqueror ÓÚ 2010-03-29 18:30:50·¢±í:

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

  30. conqueror ÓÚ 2010-03-29 18:30:36·¢±í:

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

  31. conqueror ÓÚ 2010-03-29 18:30:21·¢±í:

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

  32. conqueror ÓÚ 2010-03-29 18:30:07·¢±í:

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

  33. conqueror ÓÚ 2010-03-29 18:29:54·¢±í:

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

  34. conqueror ÓÚ 2010-03-29 18:29:40·¢±í:

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

  35. conqueror ÓÚ 2010-03-29 18:29:26·¢±í:

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

  36. conqueror ÓÚ 2010-03-29 18:29:13·¢±í:

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

  37. conqueror ÓÚ 2010-03-29 18:28:59·¢±í:

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

  38. conqueror ÓÚ 2010-03-29 18:28:45·¢±í:

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

  39. conqueror ÓÚ 2010-03-29 18:28:31·¢±í:

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

  40. conqueror ÓÚ 2010-03-29 18:28:18·¢±í:

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