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

JDK°²×°²»ÖªµÀ³É²»³É¹¦£¿

·¢²¼Ê±¼ä:2008-04-01 17:41:52À´Ô´:ºìÁª×÷Õß:tom840520
1.ÓÉÓÚÎÒRedHat9µÄJDKÊÇ1.3µÄ£¬Èçͼ£¬ÎÒÏëÖØиüÐÂÒ»¸ö1.6µÄ¡£¡£
2.ÎҰѹÙÍøÏÂÀ´µÄJDK1.6×°ÔÚÁË/opt/SDK/jdkĿ¼Ï¡£¡£Èçͼ¡£¡£
3.ÎÒÔÚ root/bashrcÀïÉèÖÃÁË»·¾³±äÁ¿£¬ÎÒÓõÄÊÇrootÓû§£¬¿ÉÊǵ±ÎÒÓÃ##java -version##²âÊÔJDK°æ±¾Ê±£¬Ëû»¹ÊÇÏÔʾ1.3¡£¡£¡£Èçͼ¡£¡£²»ÖªµÀʱʲôԭÒò¡£¡£

ÔÚ/etc/profileÀïÉèÖû·¾³±äÁ¿£¬ÎÒÒ²ÊÔ¹ýÁË£¬µ±ÎÒ½øsecureCRT¾Í˵##export JAVA_HOME,PATH,CLASSPATH ##´íÎó
¸÷λ°ïÎÒ¿´¿´¡£¡£Ð»Ð»¡£¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 1 ÌõÆÀÂÛ

  1. tom840520 ÓÚ 2008-04-02 10:55:42·¢±í:

    ÔÚ /etc/profileÀïÉèÖû·¾³±äÁ¿Ê§°Ü¡£¡£
    µ«ÊÇÔÚÈçÏÂÁ¬½ÓÀïÉèÖû·¾³±äÁ¿³É¹¦¡£¡£¡£
    http://www.knowsky.com/345025.html
    ÎÒµÄJDK³É¹¦ÓÐredhat9×Ô´øµÄ1.3Éýµ½1.5...,²»ÊǸüУ¬Ö»ÊÇÐÂ×°Á˸öJDK,ÖØÐÂÉèÖÃÁË»·¾³±äÁ¿¡£¡£¡£²»ÖªµÀÎÒÕâÑù˵¶Ô²»¶Ô¡£¡£¡£