Mac System Update JAVA version __java

Source: Internet
Author: User
Only one JRE can is installed at a time. The system would notinstall a JRE that has a lower version than the current version. Ifyou wish to install a lower version of the JRE.
Installing a JRE from Oracle would notupdate java-version symlinks or add Javato your path. To is able to does this, your need to install the JDK.


The installation of JRE 1.7.0 is useless, you must install JDK 1.7.0 again ....
And then...


Open Terminal input

cd/system/library/frameworks/javavm.framework/versions/



Find the version number is still the old version, so you must remove the old, create a new one.
RM currentjdk


And then
Ln-s/LIBRARY/JAVA/JAVAVIRTUALMACHINES/JDK1.7.0_21.JDK/CONTENTS/CURRENTJDK



Then check the version number ~ Success ~
End ~
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.