Hi, good day to you all... I like to ask if theres any of you knew how 2 or more different JDK versions co-exist in one IDE? many thanks for your response... High five... :D
Printable View
Hi, good day to you all... I like to ask if theres any of you knew how 2 or more different JDK versions co-exist in one IDE? many thanks for your response... High five... :D
The IDE needs to have options where you can set a path to the JDK's bin folder and a way to set which to use as a default. Or a way to set commandlines to be executed.
My IDE has Tools on a menu bar that contain command lines that I can tailor to execute any program such as javac or java for any JDK. I click on a Tool icon and its command line is filled in and executed.
thanks norm.. what i'm concern about is that once i created for e.g. an application in eclipse and compiles it... and run on a different platform let's say lower JDK version than the one's i first used on my desktop will it still work? thanks for your reply.. regards..
Depends on the version. Probably not if you are using 1.5 or 1.6.
If you want others to be able to execute your code, its best to use an older version of the JDK. Otherwise the users will have to upgrade their jre to be able to use it.