Results 1 to 4 of 4
  1. #1
    happyknappy is offline Member
    Join Date
    Jul 2008
    Location
    tondo manila
    Posts
    7
    Rep Power
    0

    Default using different JDK version in one IDE

    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

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,560
    Rep Power
    25

    Default

    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.

  3. #3
    happyknappy is offline Member
    Join Date
    Jul 2008
    Location
    tondo manila
    Posts
    7
    Rep Power
    0

    Default

    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..
    Last edited by happyknappy; 09-02-2008 at 04:33 AM.

  4. #4
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,560
    Rep Power
    25

    Default

    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.

Similar Threads

  1. How to find java version
    By roshithmca in forum New To Java
    Replies: 3
    Last Post: 04-27-2012, 06:10 AM
  2. how to remove an old version of JDK
    By tommy in forum New To Java
    Replies: 2
    Last Post: 07-30-2007, 08:59 AM
  3. to version
    By Alan in forum New To Java
    Replies: 2
    Last Post: 05-31-2007, 06:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •