Update Yosemite, Prompt "* Need to install the legacy Java SE 6 Runtime"

Source: Internet
Author: User
Tags java se 6 runtime java se
Solution: I am installing the jdk1.8.45, open the Charles hint "to open Charles you need to install the legacy Java SE 6 Runtime" 1. Download the jdk1.6 installation provided by Apple's website, Ann Can be used normally after loading, download the link as follows: https://support.apple.com/kb/DL1572?locale=en_US2. If you still want to use jdk1.8, you can set the environment variable to solve the problem: 1. Open terminal revenue: sudo vim /etc/profile 2. Enter I, at the end, add the following:

Java_home=/library/java/javavirtualmachines/jdk1.8.0_45.jdk/contents/home

Export path= "$JAVA _home/bin: $PATH"

? 3. Press ESC, Revenue: wq! OK, now it's okay.

Update Yosemite, Prompt "* Need to install the legacy Java SE 6 Runtime"

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.