Anil, you are correct.

The guide says to set the SDK to your built image, but it will make IDEA use 
your built image (much like how some user processes hold Microsoft Visual 
Studio when you try to set the short name) and you will have trouble building. 
Setting the SDK will also introduce extra unrelated compile errors due to 
project setup.

However, there is one scenario where you will need to set the SDK: that is when 
you have JTReg plugin installed (which you most likely do not, you need to 
build it yourself) and you wish to run the tests directly, IDE will asks for an 
SDK, but you can just set any SDK for that purpose as JTReg plugin already uses 
our images JDK for its configurations.

Regards,
Chen Liang

Reply via email to