Dual Java Installations

Posted on 2009-12-31
Last Modified: 2013-11-24
I have workstations that have 2 applications on them that both rely on java to run them. Unfortunately each program is required to stick with a specific release of JavaRE.

The first requires JavaRE 6.15 while the other requires JavaRE 5.9. I cannot upgrade the releases otherwise the programs fail to work correctly.

My question is, can I have 2 installations of JavaRE's and have each program call specifically its required instance of the run time environment?
Question by:skorpfox
    LVL 40

    Accepted Solution

    you can force the server to use different JRE by using the following command line option
    java -version:"1.5"
    LVL 3

    Assisted Solution

    You can install both java version on different locations.
    and configure your two server with it needed java version.

    or else

    you can create batch file with different path to run both application separately.

    Author Closing Comment

    That switch command to specify the java version helps out a lot, both apps running happy side by side. Thanks for that!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    The viewer will learn how to implement Singleton Design Pattern in Java.
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now