ºìÁª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:07:31·¢±í:

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

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

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

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

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

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

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

  5. conqueror ÓÚ 2010-03-29 19:05:43·¢±í:

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

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

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

  7. conqueror ÓÚ 2010-03-29 19:04:51·¢±í:

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

  8. conqueror ÓÚ 2010-03-29 19:04:26·¢±í:

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

  9. conqueror ÓÚ 2010-03-29 19:04:01·¢±í:

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

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

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

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

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

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

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

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

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

  14. conqueror ÓÚ 2010-03-29 19:01:53·¢±í:

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

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

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

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

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

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

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

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

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

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

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

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

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

  21. conqueror ÓÚ 2010-03-29 18:59:01·¢±í:

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

  22. conqueror ÓÚ 2010-03-29 18:58:37·¢±í:

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

  23. conqueror ÓÚ 2010-03-29 18:58:14·¢±í:

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

  24. conqueror ÓÚ 2010-03-29 18:57:51·¢±í:

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

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

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

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

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

  27. conqueror ÓÚ 2010-03-29 18:56:41·¢±í:

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

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

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

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

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

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

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

  31. conqueror ÓÚ 2010-03-29 18:55:10·¢±í:

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

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

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

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

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

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

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

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

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

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

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

  37. conqueror ÓÚ 2010-03-29 18:52:53·¢±í:

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

  38. conqueror ÓÚ 2010-03-29 18:52:31·¢±í:

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

  39. conqueror ÓÚ 2010-03-29 18:52:09·¢±í:

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

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

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