Using two versions of jre simultaneously

We have two web java-based applications, and each one requires one specific version of java (1.4.1_03 and 1.3.1_07).
They only work with their required java version. Furthermore, if we install the newer one, the one which needs the oldest does not work.
Is there any way to install both versions, and use them each one with its associated application (i.e. changing path..)?
The management operations for both applications will be carried out from a single point (a single PC, Windows NT/2000), and we need to have access to both applications from that single point.
Any help is welcome.....
Thank you

I maintain a plethora of Java versions on my PC, I use a script to switch among them; it sets the PATH accordingly.
1.1
1.1.8
1.1.8_v3
1.2.2
1.3.1
1.3.1_08
1.3.1_09
1.4.1
1.4.1_01_blackdown
1.4.1_02
1.4.1_05
1.4.2
ijbalazs@bijpc:~> . j 1.1
java version "1.1.8"
ijbalazs@bijpc:~> . j 1.2.2
java version "1.2.2"
Classic VM (build JDK-1.2.2_014, green threads, nojit)
ijbalazs@bijpc:~> . j 1.3.1
java version "1.3.1_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_09-b03)
Java HotSpot(TM) Client VM (build 1.3.1_09-b03, mixed mode)
ijbalazs@bijpc:~> . j 1.4.1
java version "1.4.1_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_05-b01)
Java HotSpot(TM) Client VM (build 1.4.1_05-b01, mixed mode)
ijbalazs@bijpc:~> . j 1.4.2
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
ijbalazs@bijpc:~>

Similar Messages

  • Is it possible to run two different version of jre simultanously ?

    My client is using two diffrent application those supports two different versions of jre(1.2 & 1.4). If he uses jre1.2 only one application works ,and if he uses jre1.4 then the other works but the 1st shows error messege And vice versa.
    Is there any solution to shortout this issue?

    Is it possible to run two different version of jre simultanously ?Yes. In different processes, of course.

  • Will using two versions of dreamweaver trash my code??

    Our company is currently building a new website and we keep running into problems.  Currently we have one main web desginer and another person who helps input text and pictures.  Because we have two people working on this project the file bounces between two computers at the office and then is taken home and used on a third computer.  In the midst of the multi-use of computers there are two versions of Macromedia, studio 8 and MX.  We had our code completely trashed and now all versions on each computer are not working.  We think that it was due to a code that was pulled off of a blog for a "print this page" option that was input into the template, but now just realized that using two versions of dreamweaver also may have caused the problem.  If anyone has suggestions as to what may have caused this please respond!
    Thank you!

    Thank you David! We will stop worrying about that and try to back track the tainted code  

  • Using two version of Crystal Report Application Server simultaneously

    We are currently using Crystal Report Server XI Release 1 in a production environment, and we would like to test Crystal Report Server XI Release 2 in a test environment, on the same network.
    Is there a way to be using those two versions simultaneously on the same network, using the same license key, for test purposes ?
    If our tests are conclusive, we will upgrade our production environment to Release 2.
    Thank you
    Anthony Arnaud

    As long as they are not on the same computer this is a rather comon configuration as best practices dictate that customers should maintain multiple environments (DEV/UAT/PROD) for example.
    If you are trying to install both on the same server it's not supported with those 2 versions and is known to cause issues where neither will work (different story if using unix and different port numbers).
    Regards,
    Tim

  • Using two or more JRE's at the same time?

    Our company uses 1.4.2-b08 as default JRE, but some departments still have 1.3.1 as standard since business applications must use this version. We've tried migrating to 1.4.2 and 1.5.0 but they were not backwards compatible (or simply not JRE compliant programmed).
    What I'd like to do is deploy 1.5.0 as 'default JRE' so that every website or intranetsite through IE6/Firefox is secure, and leave old JRE's on every workstation so that non-browser applications can still run.
    Questions:
    -if some applications run through a browser, is there a possibility through commandlines or startup options in a link or batchfile to use the non-default JRE?
    -using a link that refers to the 1.4.2 or 1.3.1 java.exe (plus the other variables for the application to run of course, instead of simply java.exe without path/directory names), seems to work fine - but does it?
    -with starting an old JRE through this commandline, do the libraries of the same the new/default JRE version get called on? I'm not sure whether Windows or the JRE first look in the environment settings of Windows XP, in the current path of java.exe and higher subdirectories or in the registry?

    Our company uses 1.4.2-b08 as default JRE, but some
    departments still have 1.3.1 as standard since
    business applications must use this version. We've
    tried migrating to 1.4.2 and 1.5.0 but they were not
    backwards compatible (or simply not JRE compliant
    programmed).
    What I'd like to do is deploy 1.5.0 as 'default JRE'
    so that every website or intranetsite through
    IE6/Firefox is secure, and leave old JRE's on every
    workstation so that non-browser applications can
    still run.
    Questions:
    -if some applications run through a browser, is there
    a possibility through commandlines or startup options
    in a link or batchfile to use the non-default JRE?If you're using applets, or Java Web Start to start applications, yes. Applets use html, WS uses jnlp files. Other than these, not that I'm aware of.
    -using a link that refers to the 1.4.2 or 1.3.1
    java.exe (plus the other variables for the
    application to run of course, instead of simply
    java.exe without path/directory names), seems to work
    fine - but does it?If you're running java applications from the commandline (ie, executing java.exe) then yes, if your machine is correctly configured.
    -with starting an old JRE through this commandline,
    do the libraries of the same the new/default JRE
    version get called on? Yes - see prior reply.
    I'm not sure whether Windows
    or the JRE first look in the environment settings of
    Windows XP, in the current path of java.exe and
    higher subdirectories or in the registry?If you supply a full path to an executable that is the executable that will run. If you machine is mis-configured, other problems can subsequently occur.

  • How to use two or more mics simultaneously on a firewire interface?

    hey i have the fireface 400 and am using it with logic. how do i use both mic pres on the front of the fireface simultaneously. for example i want to record an acoustic using two mics. probably a simple question please help me out.

    How do you "use" them? Please be more specific...
    Make sure you choose the correct inputs on the relevant tracks..
    If that doesn't help you I've heard stamp collecting can be fun.

  • Using two versions of RoboHelp?

    I recently upgraded to RH6 from RH X5. However, RH 6 has a
    bug that does not let me generate the same WebHelp that I could
    with RH X5. Can I use both versions on my computer? I would like to
    use RH X5 to generate WebHelp and RH 6 to create print
    documentation with the hypertext links.

    That sounds like installing X5 after RH6 which is not covered
    in my topic. That is untested as far as I know and I wouldn't want
    to try it on a production machine.
    However, I don't understand the need. Why can't you generate
    the same webhelp from Rh6 that you did before?

  • Using two versions of Photoshop

    I have Photoshop CS5 installed on my C:\. I would like to install Photoshop CC on another drive and use both versions, is this possible?

    You asked about CS5. Adobe claims this is possible so one hopes so.
    That said when I launch Ps CS5 (or any other CS5 Suite application) it opens as a trial version and will not accept my valid serial number.
    I believe Adobe Application Manager may have  difficulty negotiating between versions depending on where and when they have been installed. Thus YMMV.
    Adobe Support has recommended that, after having removed the Adobe Creative Cloud app, then running a downloadable  Adobe Cleaner tool, and then reinstalling the the Adobe Creative Cloud, I proceed to uninstall and re-install CS5. They assure me this will resolve the issue, however I have not yet had an opportunity to uninstall/reinstall CS5 to verify.
    It's an aspect of life with CC where something that ought to  be simple is convoluted.

  • Can I use two versions of firefox on one computer?

    3.6.10 and 4beta in parallel? Would both versions use the same bookmark file or how can they stay in-sync? I love 4beta but still would need to use 3.6.10 for some add-ons. Thanks a lot!!

    You can use both versions but should use a different profile for each one (location where Firefox stores user data such as bookmarks).
    The beta version should by default be installed in a different location than the release version, but to ensure this is the case you can choose the Custom option when installing Firefox and specify where you want it installed.
    Next you need to create a new profile folder for the beta version, for details of how to do that see the [http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows Creating a new Firefox profile on Windows]. Once you have created a new profile, you can create shortcuts that open the correct profile, for details see [http://kb.mozillazine.org/Shortcut_to_a_specific_profile Shortcut to a specific profile].
    Finally you can arrange for Firefox to synchronize the bookmarks and passwords used by the 2 versions. You can do this by using Firefox Sync. The Firefox 4 beta will have it built in, but for Firefox 3.6.10 you can install the [https://addons.mozilla.org/en-US/firefox/addon/10868/ Firefox Sync] add-on. For details on using Firefox Sync see [[what is Firefox Sync]].

  • Running multiple java apps simultaneously, using different versions of jre.

    I have a situation where I have 3 or 4 applications (and one applet) that were built over time, each with a different version of the jdk (ranging from 1.2.2.005 to 1.3.2). I need to know of a way (and it must exist) to run each of these applications on the same machine, and at runtime, have each application (or applet) run with its respective version of the jre. Certainly, one could change some source code and make all programs compatible with a particular jre, but that doesn't solve my problem if a new app is built with a new version of the jdk down the road. Currently, each runs fine by themselves, but if I try to run them together as different processes, some won't do anything because the default jre may not be what it needs. Would the Java Plug-in software have a role to play in this? Is there a way to specify (link) which application should use which jre?
    P.S. These applications (right now) don't have to interact or interface in any way. I just need to have them all running as separate processes on the same machine and be able to jump from one to the other.

    Write a batch file that sets the environment properly and restores it afterwards, here is a sample batch file we use which switches to IBM's JRE to run an app:
    OLDPATH=$PATH
    PATH=$PATH:"/usr/local/java/IBMJava2-13/jre/bin"
    OLDCP=$CLASSPATH
    CLASSPATH="/usr/local/java/IBMJava2-13/jre/lib/rt.jar:."
    OLDHOME=$JAVA_HOME
    JAVA_HOME="/usr/local/java/IBMJava2-13/jre"
    # put the command to execute your program here
    java -jar app.jar
    PATH=$OLDPATH
    CLASSPATH=$CLASSPATH
    JAVA_HOME=$JAVA_HOME
    This is for Linux, but it should be possible to write one for Windows too.

  • Can I use two Windows User Accounts simultaneously?

    Hi
    I use my pc for two businesses. Presently I have two user accounts that I have to switch bewteen by logging off each time - disconnecting my broadband.
    Is it possible to run the two accounts simultaneously?
    Regards,
    Grant Basson
    [email protected]

    Hi Grant,
    You can use the Windows shortcut to have two or more user account active at the same time. The short cut for this is to press and hold the 'Windows' key on your keyboard and also press the 'L' key. This will then cause the Windows log-on screen to be displayed but without logging off the first user account.
    regards,

  • How can I use two analog output channels simultaneously?

    I am using PCI6110 DAQ card. I want to run two separate VIs on one computer. Each VI output a waveform to one analog output channel. How can I do this simultaneously without interfering each other?
    Thanks

    Hi Stephen,
    This can NOT be done with two seperate VI's.
    The issue is in the hardware/driver.
    Your hardware has a clock that controls how fast updates to the AO occur. That clock can only have one value at a time. I will let your contemplate the complications that come up with two different clock settings being active at the same time (see below).
    So how do you work around this complication?
    You will have to develop a single VI that OWNs both output channels. That VI will have to accept start,stop,configure, etc commands from the two clients (what you will have to convert your existing VI's into). If you decide to place a restriction on the services you provide to the clients along the line of "only one sample rate at a time" you will be making your li
    fe much easier.
    If I was contracted by a customer to do what you have asked, I would try to combine the two existing VI's into one or simply buy a second 6110 and avoid all of the hassles. Both of these approaches would end up saving the customer money in the long run while freeing them of any restrictions that where established in order to develop the "server".
    I hope this helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Using Two Drives On Macpro Simultaneously

    I have a couple of Pioneer 115D drives in my Macpro and have recently tried to get them to burn together as a time saver. All I managed to do was get the bottom drive to be shown as the top one and the other one the bottom ... ! Anyone have any ideas as to whether such a thought can be made to work ?

    Ron wrote:
    Mike, at the moment I'm using iDVD and Utility App but I'll have a look into Toast with the same iDVD product. If Toast produces from one iDVD prog then I'm presuming the same should occur with twin entries in the finder ... ?
    Ron,
    I am afraid I don't understand your question to me here. I don't use iDVD at all and I don't know what "Utility app" is. I use my two burners for putting large volumes of data onto DVD and BD discs simultaneously after a big job. Duplicate copies of Toast app works well for this, I don't know whether duplicate copies of iDVD would do the same, if that is what you are asking. I'll help more if I can.
    I did have a problem when I added the blu ray with upper and lower. I could only get the correct matching by putting the blu ray in the lower whereas I wanted it in the upper originally. But the blu ray is SATA so may not be relevant to your situation.
    Message was edited by: Mike Boreham

  • How to use two versions routing in SAP on different time period?

    Hi PP experts,
    There is a material Material-100 linked Routing-A and Routing-B. I would like to use Material-100/Routing-A combination during period 29.04.2015-30.05.2015, and using Material-100/Routing-B combination during period 01.06.2015-31.12.9999.
    Could you please kindly guide me how to do it in SAP? Thank you.
    Best Regards,
    Bu Fanchao

    Hi Amit,
    Below is my thinking, please kindly help me check.
    1. Due to routing-A is existed in SAP with period 29.04.2015-31.12.9999. So I need to change the valid-to-date from 31.12.9999 to 30.05.2015 via ECM.
    2. Create routing-B by CA01 with period 01.06.2015-31.12.9999.
    3. Create production-version-1 with routing-A/BOM during 29.04.2015-30.05.2015. And Create production-version-2 with routing-B/BOM during 01.06.2015-31.12.9999.
    My new question: Do I have to create production-version to achieve it? Does SAP system can choose routing automatically without production-version?
    Best Regards,
    Bu Fanchao

  • Using two versions of the one class together?? (I think)

    Hi, see the following small program, where the user can enter an int, and the program draws that amount of lines, joined together at a centre point. The user can then move these lines around the centre by dragging the red dot at the end of the lines.
    Anyway, what I want to be able to do, is have two different versions of this program running side by side, independently of each other. (ie one might have 4 lines, the other have 3). Each one, would also be able to read data from each other.
    Is this possible?
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Lines4 extends JFrame implements MouseListener, MouseMotionListener {
    private int startx = 200;
    private int starty = 200;
    private JLabel statusBar;
    private Road roads[];
    private static final int roadLength = 100;
    private static final int circleRadius = 4;
    private Road movingRoad;
    public Lines4() {
    super("Lines4");
    String ret = JOptionPane.showInputDialog("How many roads are there?");
    int numPoints = Integer.parseInt( ret );
    double factor = 2.0 * Math.PI / ( numPoints ) ;
    roads = new Road[numPoints];
    for (int i=0; i<numPoints; i++){
    int x = (int)( roadLength * Math.cos( factor * i ) );
    int y = (int)( roadLength * Math.sin( factor * i ) );
    roads[i] = new Road( i, startx, starty, circleRadius, startx+x, starty+y );
    addMouseListener(this);
    addMouseMotionListener(this);
    statusBar = new JLabel();
    getContentPane().add(statusBar, BorderLayout.SOUTH);
    public void paint( Graphics g ) {
    g.clearRect( 0, 0, getWidth(), getHeight() );
    for (int i=0; i<roads.length; i++) {
    roads.draw( g );
    // MouseListener Event Handlers
    public void mouseClicked( MouseEvent e ){
    statusBar.setText( "Clicked at [" + e.getX() +
    ", " + e.getY() + "]" );
    public void mousePressed( MouseEvent e ){
    statusBar.setText( "Pressed at [" + e.getX() +
    ", " + e.getY() + "]" );
    for (int i=0; i<roads.length; i++) {
    if ( roads[i].onCircle( e.getX(), e.getY() ) ) {
    movingRoad = roads[i];
    public void mouseReleased( MouseEvent e ){
    statusBar.setText( "Released at [" + e.getX() + ", " + e.getY() + "]" );
    movingRoad = null;
    public void mouseEntered( MouseEvent e ){
    statusBar.setText( "Mouse in window" );
    public void mouseExited( MouseEvent e ){
    statusBar.setText( "Mouse outside window" );
    // MouseMotionListener event handlers
    public void mouseDragged( MouseEvent e ){
    statusBar.setText( "Dragged at [" + e.getX() +
    ", " + e.getY() + "]" );
    if ( movingRoad != null ) {
    movingRoad.x = e.getX();
    movingRoad.y = e.getY();
    repaint();
    public void mouseMoved( MouseEvent e ) {
    statusBar.setText( "Moved at [" + e.getX() +
    ", " + e.getY() + "]" );
    public static void main( String args[] ) {
    Lines4 app = new Lines4();
    app.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
    app.setSize( 400, 400 );
    app.setVisible( true );

    You need to be very careful which project you open in which version.
    For 2014 make sure its on 2014.1 build 81.

Maybe you are looking for

  • "Quality and Media" not displaying in Print dialog.

    I am using Mac OS X 10.6 Snow Leopard on a Macbook Pro with a Canon MB5220 Multifunction printer over WiFi. I have installed the Canon Drivers and can print to the printer but the "Quality and Media" menu choice does not display in the print dialog s

  • SharePoint remote provider hosted apps - confusion around key questions

    For some time, I have been trying to get a provider hosted app setup to work, and I am afraid that I - as a relative novice - must have missed some key points despite hours of googling and reading. Here's my questions: A remote, provider hosted app,

  • Error Message during order confirmation.

    Hi PP Gurus, In the mapping of MTO process scenario and it's simulation I am using 2 BoM components  as the NON-VALUATED (MATERIAL TYPE) for this I have made only 'Quantity Update' indicator ON in IMG settings. After MRP run and at the time of Produc

  • Oracle Terminal NLS keys mappings.

    Dear Oracle Developer Community & Support Team! Is it possible in Oracle Developer 2.0 to define my national language keys mappings (for non-English keyboard layout) without causing GPF (On Ms Windows NT platform)? NLS_LANG is RUSSIAN_CIS.CL8MSWIN125

  • After signing in successfully can't open calendar and integrated gmail doesn't show my mail and calendar

    Three issues that occur after successful sign in: 1. Can't open calendar or any other gmail option, I get a message saying: Firefox prevented this page from automatically redirecting to another page. 2. Can't set appropriate signature in the settings