ºìÁª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. Сº¢Ò»¸ö ÓÚ 2017-09-08 21:33:38·¢±í:

    ѧϰһÏ£¡

  2. conqueror ÓÚ 2010-03-29 21:14:04·¢±í:

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

  3. conqueror ÓÚ 2010-03-29 21:13:56·¢±í:

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

  4. conqueror ÓÚ 2010-03-29 21:13:51·¢±í:

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

  5. conqueror ÓÚ 2010-03-29 21:13:38·¢±í:

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

  6. conqueror ÓÚ 2010-03-29 19:51:28·¢±í:

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

  7. conqueror ÓÚ 2010-03-29 19:50:52·¢±í:

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

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

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

  9. conqueror ÓÚ 2010-03-29 19:49:41·¢±í:

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

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

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

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

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

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

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

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

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

  14. conqueror ÓÚ 2010-03-29 19:46:45·¢±í:

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

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

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

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

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

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

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

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

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

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

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

  20. conqueror ÓÚ 2010-03-29 19:43:21·¢±í:

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

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

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

  22. conqueror ÓÚ 2010-03-29 19:42:14·¢±í:

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

  23. conqueror ÓÚ 2010-03-29 19:41:42·¢±í:

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

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

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

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

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

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

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

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

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

  28. conqueror ÓÚ 2010-03-29 19:36:38·¢±í:

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

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

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

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

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

  31. conqueror ÓÚ 2010-03-29 19:35:00·¢±í:

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

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

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

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

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

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

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

  35. conqueror ÓÚ 2010-03-29 19:32:53·¢±í:

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

  36. conqueror ÓÚ 2010-03-29 19:32:22·¢±í:

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

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

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

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

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

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

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

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

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