ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > SuSE

ÈòËÄñ½ÌÄãÔÚopenSUSE 12ÉÏ°²×°Oracle JDK7

·¢²¼Ê±¼ä:2013-06-25 21:59:01À´Ô´:ºìÁª×÷Õß:sauntor
[i=s] ±¾Ìû×îºóÓÉ sauntor ÓÚ 2013-6-25 22:06 ±à¼­ [/i]

ÔÚ¶ËÎç½ÚµÄʱºòżÌùÁËÒ»¶ÎÔÚopenSUSEÉÏ°²×°Oracle JDKµÄÌû×Ó£¨³É¹¦ÔÚopenSUSE 12.3ÉÏ °²×° Oracle ·¢ÐеÄJDK7£¬Ìù³ö½Å±¾·ÖÏí£©£¬ËµÀ´²ÑÀ¢Ñ½£¬°³Ö»ÊǼòµ¥µÄ°ÑÊÖ¶¯ÇõÄÃüÁîÕûÀíÁËһϾÍÌùÉÏÈ¥ÁË£¬Ò²Ã»×ö²âÊÔ(ËùÒÔ¾ÍÓÐBug¿©...)£¬½á¹û»¹±»°ßÖñ¸øÍƼöÁË£¬×ÅʵÓе㺹ÑÕѽ¡£²»¹ýÓà½üÈÕ³é¿ÕÕûÀíÁËһϣ¬²¢ÔÚopenSUSE 12.3 x64/x86ÉÏÊÔÑéЧ¹ûÁ¼ºÃ£¬ÍûÒÔ´ËÀ´ÃÖ²¹°ßÖñºÍ´ó¼ÒµÄ´í°®¡£¼òҪ˵Ã÷һϽű¾Ö´ÐеIJÙ×÷£º

1. °ÑJDK½âѹµ½/usr/lib/jvm/jdk1.7.0_xx£¨x64ϵͳÖÐΪ/usr/lib64/jvm/jdk1.7.0_xx£¬ÏÂÎÄÀàËÆ£©Ä¿Â¼ÖУ¬²¢ÔÚ/usr/lib/jvmÖд´½¨Á½¸ö·ûºÅÁ´½Ójava-1.7.0-oracle¡¢jre-1.7.0-oracle
2. ÒÔÉÏÃ潨µÄ·ûºÅÁ´½ÓΪ»ù´¡Ä¿Â¼£¬°²×°java¡¢javac¡¢javaplugin(¼¯³ÉFireFox)µ½ÏµÍ³µÄAlternatives»·¾³ÖÐ
3. ¿½±´sun-jcontrol.pngµ½ÏµÍ³Í¼±êÎļþ¼Ð£¬°²×°Java¿ØÖÆÃæ°å

жÔعý³ÌÓëÉÏÃæµÄ¹ý³ÌÏà·´£¬Ò²¾Íû±ØÒªÔÙдһ±éÁË¡£


ÃüÁîÐÐÑ¡Ïî¼ò½é£º
JdkSetup.sh -[i|r] --[install|remove] [-p|--patch] patch --priority priority [-f|--file] /path/to/jdk.tar.gz
-i, --install Ö´Ðа²×°
-r, --remove Ö´ÐÐжÔØ
-p, --patch JDKÔöÁ¿¸üа汾ºÅ£¬¼´Îª"jdk1.7.0u21"ÖеÄ"21"
--priority [°²×°Ñ¡Ïî]°²×°µ½AlternativesϵͳʱµÄÓÅÏȼ¶£¬Ä¬ÈϵľÍ×ã¸ß¹»ÁË£¨¿ÉÈÃOracleJDK³ÉΪĬÈÏJDK£©
-f, --file [°²×°Ñ¡Ïî]´ÓOracleÏÂÔصÄԭʼJDKѹËõ°ü·¾¶£¬È磺./jdk-7u25-linux-x64.tar.gz

ʾÀý£º
°²×°)
./JdkSetup.sh -i -p25 -f $HOME/ÏÂÔØ/jdk-7u25-linux-x64.tar.gz
жÔØ)
./JdkSetup.sh -r -p25


Ï£Íû¶Ô¸÷λLinux²ËÄñͬÈÊÓÐËù°ïÖú£¬²»×ãÖ®´¦»¹ÇëÅúÆÀ¸«Õý¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 11 ÌõÆÀÂÛ

  1. yangyanlong ÓÚ 2015-04-28 09:31:13·¢±í:

    ¶¥

  2. anglesun0001 ÓÚ 2015-02-08 05:51:12·¢±í:

    ÊÕµ½£¡£¡

  3. jnexezdl ÓÚ 2014-05-08 13:51:00·¢±í:

    ºÃ¶«Î÷

  4. yangyq2014 ÓÚ 2014-03-15 20:42:42·¢±í:

    ллÀ²£¬ÎÒÊÇÐÂÈË£¬Ö§³Ö~~Åõ³¡

  5. yemaobumei ÓÚ 2014-02-18 22:01:39·¢±í:

    good

  6. gr23344 ÓÚ 2013-11-18 23:13:10·¢±í:

    ÐÂÊÖÉϵÀ£¬ Çë¶à¶àÕչˡ£Ð»Ð»¡£

  7. leumouse ÓÚ 2013-07-30 10:04:59·¢±í:

    ѧϰѧϰ

  8. guaitai ÓÚ 2013-07-21 10:00:14·¢±í:

    ÐÂÊÖÉϵÀ£¬¶à¶à¹ØÕÕ

  9. free8000 ÓÚ 2013-07-21 06:15:57·¢±í:

    лл£¡

  10. GrowthÕ× ÓÚ 2013-06-26 16:17:12·¢±í:

    ¸ÐлsauntorµÄ·ÖÏí£¬±¾Ìù¼ÓÈëµ½openSUSE¼¼ÊõÌù×ÓÖÐ

  11. fengmayi1 ÓÚ 2013-06-26 08:46:59·¢±í:

    ÊÕ¾­