Under Mac OS, Intellij idea default JDK version modification

Source: Internet
Author: User
Intellij idea by default, the version of the JDK used is 1.6, and when the idea is first launched, if the JDK is not installed on the system, the system will automatically download the JDK installation file on the Apple website. If your system is already installed with jdk1.7 or higher, you will be asked to install the Apple website jdk1.6 when you first open idea. To eliminate the redundant JDK installation, the solution is as follows: Find IntelliJ idea 13 under/applications, right-click to show Package Contents->contents-> Info.plist, use a text editor or default Xcode to open the file and find the following code
<key>JVMVersion</key>
<string>1.6*</string>


Change <string>1.6*</string> to <string>1.7*</string> save.

At this point, the JDK used by idea is version 1.7 and above.


Finish

Under Mac OS, Intellij idea default JDK version modification

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.