½ñÌìÔÚ¹¤×÷ÖÐÓöµ½ÁËһЩÎÊÌ⣬ÄǾÍÊÇÔÚÉý¼¶Red Hat WS 2.1ºÍSolaris 8µÄJAVAʱ£¨ÔÀ´µÄ°æ±¾Îª1.3.1,¹¤×÷ʱҪÓÃ1.6°æ±¾£©£¬Ðµİ汾¾ÍÊÇ°²×°²»³É¹¦£¬ÊäÈëjava -versionʱ£¬ËùµÃµ½µÄ°æ±¾×Ü»áÊÇ1.3.1¡£ÓÃwhereis javaÃüÁîÕÒµ½º¬ÓÐJAVAµÄ·¾¶£¬É¾³ýÁËËûÃǺ󣬲鿴µ½µÄ°æ±¾»¹ÊÇ1.3.1£¬µ±Ê±¾ÍÓôÃÆÁË¡£ÎÊÁËͬÊ¡°Ê¯Í·¡±ºÍ¡°ÍÁ¶¹¡±£¬½â¾öÁËÕâ¸öÎÊÌ⣬ºóÀ´Ê¯Í·Í¬Ñ§×ܽá³öÁíÒ»¸ö·½·¨£º
ʹÓÃwhich java²é¿´µ½£¬JavaµÄ»·¾³±äÁ¿Ö¸ÏòµÄ»¹ÊÇ/opt/IBMJava2-131/bin/java£¨ÒÔRed Hat WS 2.1£©ÎªÀý£¬ÎÊÌâÕÒµ½ÁË¡£ÓÚÊǾͽøÐÐÁËÏÂÃæµÄ²Ù×÷£º
1¡¢ÏÈ°²×°Ð°汾µÄjava£¬¡°jre-6u3-linux.bin¡±£»
2¡¢ÊäÈëÏÂÃæµÄÃüÁî¡°ln -s /usr/java/jre1.6.0_03/bin/java /opt/IBMJava2 -131/bin/java¡±;
3¡¢Õâʱ»á±¨Ò»¸ö´í£¬Ëµ/opt/IBMJava2-131/bi/javaÒѾ´æÔÚ£»
4¡¢É¾³ý/opt/IBMJava2-131/bi/java£¬ÔÙ´ÎÖ´ÐÐstep2£»
5¡¢ÊäÈëjava -version£¬²é¿´µ½°æ±¾ºÅÒѾΪ1.6ÁË£¬ºÙºÙ¡£
Õâ¸ö·½·¨²»Ò»¶¨¿ÉÒÔÓÃÔÚËùÓеÄϵͳÖУ¬²»¹ýÓöµ½ÕâЩÎÊÌâµÄʱºò£¬¿ÉÒÔÊÔÊÔ¿´¡£
tcllovelg ÓÚ 2008-01-14 20:23:15·¢±í:
:0D1