简体   繁体   中英

Can IntelliJ 14 be used to work with IBM JDK 1.7?

We have a customer who uses the IBM JDK and so I would like to have that as an option to use within IntelliJ (normally, I only recent Oracle releases). How can I install and setup IBM JDK 7 for use in IntelliJ such that I can switch between the two as required? Thank you!

How can I install and setup IBM JDK 7 for use in IntelliJ Blockquote

  1. Download and install the IBM JDK on your system
  2. Open File > Project Structure > [Platform Settings] > SDKs
  3. Click the Add Icon 在此处输入图片说明 , select JDK, and add the IBM JDK by selecting the appropriate paths

...that I can switch between the two as required?

  1. Open File > Project Structure > [Project Settings] > Project
  2. Change the "Project SDK" setting.

You can also set on a module level by:

  1. Open File > Project Structure > [Project Settings] > Modules
  2. Select a module
  3. Select the "Dependencies" tab
  4. Change the Module SDK from "Project SDK" to the desired SDK definition

I couldn't make this to work until I followed the steps here on this blog:

http://jaykhimani.blogspot.com/2015/02/making-intellij-idea-work-with-ibm-jdk-7.html

Basically I needed to add some obscure vm.jar

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM