Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Multiple JRE's

Options
  • 24-07-2006 12:09pm
    #1
    Registered Users Posts: 227 ✭✭


    I have developed a Java application in net beans with JDK 1.4.2 and am using it with JRE 1.4.2, my problem is that the user of the machine wants to install a new app that requires JRE 1.5.2. My question is can I set my app to use 1.4.2 or will it automatically use the JRE related to the JDK it was developed with??


Comments

  • Registered Users Posts: 1,996 ✭✭✭lynchie


    If you install the 1.5 jre it will probably be the default jre for all applications. 1.5 is backwards compatible, so your code will continue to run fine on 1.5. Alternatively, just modify your startup script for your app to use the 1.4 jre, or in netbeans you should be able to specify the jre to use when there is multiple ones installed.


Advertisement