Different Java versions co-existing - forcing default Runtime engine

We have recently upgraded from 1.4.2.06 to 1.5.0.10 on our local network. And we now just discovered an application that is hardcoded towards 1.4.2.06 it seems, and the programmers company says that too.
Is it any way to force 1.4.2.06 as the default for use in browser for those machines?
We are running Windows XP Professional SP2 with latest patches and the Java Runtime is in Internet Explorer 6.
I've not found a way to force that, tried the Java entry in Control Panel. Even tried to force the 1.4.2.06 onto the machine (copied all installfiles over the new ones and imported all regsettings onto the machines - Im an application packager at our company so easy to get hold of those).
Feedbacks are very welcome!

Can you force the issue, by specifying the JVM. I have done the following:
Copy the "old" jvm to another directory - say:
c:\jvm1.4\
Then create a new shortcut (or batch file):
cd the\app\directory
c:\jvm1.4\jre\bin\java -jar theapp.jar
(ok, the line may be way different).
Basically, the control panel just affects what the OS does when a .jar file is "run". Running the JVM directly (after chdir to the installation directory) and specifying the mail jar file usually works....
But this does assume the java program does not load a second JVM in the background for some task....

Similar Messages

  • How to Launch an Integration Builder under two different java versions

    How to Launch an Integration Builder under two different java versions     1
    1. Situation     2
    2. How To Do     2
    2.1 jre preparation     2
    2.2 Put them into the system     2
    2.3 Execute a Java Web Start under jre 1.4.x version     3
    2.4 Change Java Runtime Versions     3
    2.5 Launch an Integration Builder     6
    1. Situation
    OS: windows 2000 pro – English
    Java version: jdk 1.5.x was already installed. (It’s not permitted to change.)
    I don’t have any authorization to install any software on the PC.
    But I need to use an Integration Builder.
    I already knew URLs of an Integration Builder (http://<hostname>:50000/rep/start/repository.jnlp).
    2. How To Do
    At this moment, an Integration Builder (XI 3.0) can be launch under jre 1.4.x environment (on windows).
    2.1 jre preparation
    I download j2re-1_4_2_10-windows-i586-p.exe from http://java.sun.com/j2se/1.4.2/download.html
    I installed it on my home PC and copied all files from C:\Program Files\Java\ j2re1.4.2_10\ into my USB.
    2.2 Put them into the system
    I pasted j2re1.4.2_10 folder from my USB into the windows 2000 pro system.
    Finally, I could list up all of javaws.exe under this system.
    c:\j2re1.4.2_10\javaws\javaws.exe
    c:\Program Files\Java\jdk1.5.0_05\bin\javaws.exe
    c:\Program Files\Java\jdk1.5.0_05\jre\bin\javaws.exe
    c:\Program Files\Java\jre1.5.0_05\bin\javaws.exe
    2.3 Execute a Java Web Start under jre 1.4.x version
    I executed c:\j2re1.4.2_10\javaws\javaws.exe .
    2.4 Change Java Runtime Versions
    Go to File-> Preferences -> Java
    As you can see, it indicates 1.5 version.
    Click [FIND] button.
    Click [NEXT] button.
    Click the j2re1.4.2_10 folder.
    Click [NEXT] button.
    A JRE Finder is able to find javaw.exe automatically. Or you can indicate C:\j2re1.4.2_10\bin\javaw.exe directly.
    Click [NEXT] button.
    Finally, there are two Java Runtime Versions. Now you need to uncheck the Enabled column of 1.5 version and check 1.4 version.
    Click [OK] button.
    Well, in the General tab, I selected None for Proxies.
    2.5 Launch an Integration Builder
    In the Location field, I typed the URL of an Integration Builder jnlp.
    http://<hostname>:50000/rep/start/repository.jnlp
    SAP Integration Builder comes up inside Applications area.
    Select it and click [Start] button.
    If you click Environment-> Integration Builder (Configuration), you can launch Integration Builder: Configuration.
    [PDF file location] with screenshots
    http://SDN.mobilian.org/SDN/How2LaunchIB.rar
    ===================Advertisement==========================
    How do you search SDN?
    What about [<b>SDN Search Widget</b>]?
    SDN Search Widget
    =========================================================

    I am not getting anywhere with deploying my application or
    applet.
    I have set up my bc4j project. It contains all my VO info,
    links, application module. (proj a)
    I then have another project with DbInfo in it(has all my rowset
    info), Multiple Frames, and my Applet.java file.
    Actually I have an Applet.java file and a Application.java file
    because I was seeing if both/either worked. Anyway they seem the
    same, except for that extra window that comes up when you run the
    applet.
    I follow the steps in the oracle directions (from earlier post).
    And all seems ok. But at ---->
    [*] Select the subdirectory under myhtml where your applet's HTML
    file
    is located, and enter the directory path of the 'staging'
    directory you
    created in step 3 above, if different from the default.</li>
    [*]Select the HTML files that JDeveloper created to run your
    applet.</li>
    [*]Select all of the Java source files in your project that make
    up the
    applet.</li>
    I have no HTML file associated with my applet, at least that I
    know of.
    So do I need to create one, or should it of been done
    automatically.
    Also, I trying to figure out what will be the best way to deploy
    my project. Applet or stand alone application is what my first
    choices have been so far. I have read that there is some issues
    with applets being served from a different server than the
    database. So a stand alone application was my front runner, but
    I haven't gotten either way to work yet.

  • Use different java versions to start weblogic and run application.

    Hi All,
    I'm currently using weblogic707 which need java 1.4.1 to start up. However, i have this application that run only on java version 1.3.1. Is there any possibility to configure the weblogic to run my application on different java version?
    Thanks.
    wls

    Hi HMLunger,
    Did you install the SQL Server instance successfully? If not, please help to post the summary and detail logs for analysis. By default, the logs can be found in: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log.
    However, if you fail to start SQL Server Express service after successfully installing SQL Server,
    you might have to change the paths of the files by running the following scripts from the command prompt. For more details, please review this similar
    thread.
    NET START MSSQL$SQLEXPRESS /f /T3608
    SQLCMD -S .\SQLEXPRESS
    ALTER DATABASE model MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
    ALTER DATABASE model MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
    go
    exit;
    ALTER DATABASE msdb MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
    ALTER DATABASE msdb MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
    NET STOP MSSQL$SQLEXPRESS
    In addition, you can follow the steps in this KB article to uninstall SQL Server.
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Different Java versions on IE6

    Hello,
    We have a Windows server 2000 with Internet Explorer 6 SP1, and different aplications that need a specific version of JRE, exactly 1.4, 1.5 and 1.6.
    The problem is we do not know if it will work on the same server, or how to change the java version to use it with each application.
    I had thought to make different shortcuts to the IE, and somehow indicate at the launch which version to use, but I think it is not possible.
    I had investigate the navigator and there is no option to change the java version or something.
    What can I do?
    Thank you.

    The culprit is definitely the Java JRE as stated above, Oracle 11.5 I believe is designed to run with 1.5.0_16 or at least that what has been forced on our installation.
    From what I can tell, the export call when run with an invalid JRE does not fire properly and Oracle gets an unknown response so therefore defaults you back to the login screen.
    We had this issue and removed all versions of java (1.6.0_16 was the culprit in our case) and every returned to normal.
    You will also need to make sure you have "Automatically prompt for file download" and "File download" enabled in IE (assuming you use IE) for the zone in which your Oracle install resides or you will see popup-blocker symptoms as well.
    Hope this helps.

  • Access two EAS with different Essbase versions and different java versions from the same p.c.

    Hi,
    I need to regularly access Essbase 11.1.2.2. and Essbase 11.1.2.3 EAS from the same client machine.
    They are on, and must be on, different versions of java, is there a way to have both versions of java installed but each using the correct version and without the two java versions causing any kind of problems?
    thanks,
    Robert.

    Hi Robert...  I assume this is web-launched?
    I spent a day or so trying understand the intricacies of the JNLP protocol and create shortcuts that will invoke web-launched EAS with the appropriate version of Java.  I can get one version of EAS to use the 1.6 Java Web Launcher, and the other version of EAS to use the 1.7 Java Web Launcher - but both Web Launchers eventually invoke the same version of Java!  There are switches in the JNLP syntax that seem like they should allow you choose the actual Java version that gets invoked, but I just could not make it work.
    You can use the Java Control Panel (in Control Panel) to enable and disable the relevant versions before launching EAS.
    If you find otherwise I would love to know (or if you find out how to control which versions are enabled or disabled via command-line script).

  • Different Java version at one maschine

    Hello experts.
    I need to test SW with differnt java-versions (1.1.8-1.4). So I will install all version I need. But now the question: how can I easily
    switch between the versions? How can I verify that the desired version
    is in use (is java -fullversion the only check)?
    Thanx in advance
    Henry

    Assuming you are using Windows, just create a batch file for each version. e.g.:
    usejava1.2.bat
    @Echo Off
    set path=c:\jdk1.2.2\bin;%PATH%
    set java_home=c:\jdk1.2.2
    java -versionJust replace c:\jdk1.2.2 with the path to your java install, then at the command prompt type usejava1.2 to switch to the relevant version within the current DOS session.
    Its probably very simple to do something similar on Unix.

  • Different java versions in same project

    Hi
    Has anyone used 2 different versions of java in same
    J2EE project.
    I have a web project where i have a Applet which
    displays data in graphs etc, this applet uses applet -
    servlet communication to connect to database,
    What i want to try to do is develop all the servlets
    and code running on application server using
    J2SDK1.4.2 and the applet using J2sdk1.5 (5.0).
    I cannot use java 1.5 for server side as i am using
    app server which does not support it, but i want to
    use java 1.5 to get latest abilities in Swing.
    I see a potential problem with class compiled in
    different versions,
    I populate data in java class and send this class to
    applet which reads data from these classes and do the
    plotting
    Any suggestions
    Ashish

    How are the applets and servlets to communicate? If they use html/xhtml, etc, there should be no problem. If you're serializing objects, then yes, there is a potential for a problem.

  • Wrong Out while Cropping image using different java version

    Hi,
    my task is to crop the image based on x,y,w,h coordinates, but thing is i am getting different cropped images while using java 1.6 and java 1.7.
    in java 1.6 the x and y coordinates starting from 0,0 instead of given values.
    please find the code below:
    import java.awt.Image;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import javax.imageio.ImageIO;
    public class CropImage {
    Image image;
    // Insets insets;
    BufferedImage img = null;
         public CropImage(){
              try{
    img = ImageIO.read(new File("D:/temp/","Capture.gif"));
    File outputfile = new File("D:/temp/","saved.gif");
    // 49,158,58,7 -x,y,w,h
    ImageIO.write(img.getSubimage(58, 6, 158, 50), "gif", outputfile);
              }catch(Exception es){
                   es.printStackTrace();
         public static void main(String args[]){
              new CropImage();
    Thanks,
    shashanka.
    Edited by: user8956018 on Dec 23, 2012 10:54 PM

    Note 791765 - Mixed JSESSIONID Cookies from Different Servers - resolved the issue

  • Secret key cipher for two different Java versions

    Hello All.
    I am trying to make a class that uses secret key encryption/decryption for both v1.18 and v1.3.1. That is the same class needs to be useable on both versions. Is this possible? v1.18 does not recoginize any javax.crypto.*. I was able to get the cipher working the way I wanted in just v1.3.1, but not v1.18.
    Any suggestions would be very appreciated.
    No upgrade at this time is possible.
    Thank you in advance,
    Jen

    You can use BouncyCastle JCE.
    http://www.bouncycastle.org/latest_releases.html
    Add the good jar file corresponding to JDK version,
    and you'll be able to use the same code.

  • Bug - Default Java version

    When I'm changing the default java version in the Default Project Properties to 1.5.0_05-b05 and creating a new project; the new project still has java version 1.5.0_05 (Default).
    Bug?
    /Per-Arne

    I have just made the test of setting JDK 1.5.0_04 as the default version of Java and when I created a new project it worked perfectly. The change was made by downloading JDK 5 update 4 from Sun; making it accessible to JDeveloper by defining a new J2SE Definition in JDeveloper (from Default Project Properties) and selecting it as the default version of Java.
    Please note that even though 1.5.0_05-b05 was not selected by default, it was selectable for the new project, so it's not a big deal, but I still think that it must be a bug under the hood that should be corrected.
    The reason that I tried to change the default Java version was that Sun's version was 1.5.0_05-b05 and JDeveloper's was "only" 1.5.0_05-b03. ;-)

  • Different JVM versions in a SAP system

    I have an SAP system which consist of 3 servers, and 2 of them have jvm version - 1.4.2_17-b06 and the other one has JVM version 1.4.2_12-b03, so i wanted to know will this setup affect the system/performance
    thank you
    Jonu Joy

    Hi
    Will my system/performance be affected if my CI has a different java version compared to the version on the app servers
    As per my knowledge it wont effect your sytem performance,you can still proceed with what you have now but its better to have same JAVA version
    Regards
    Uday

  • Using LV2009 to produce EXEs for Runtime Engine 8.6

    Hi,
    I am currently running LabVIEW version 8.6.  However, having purchased this less than a year ago, I think I am eligible to upgrade to v2009 for free.
    At the moment, if I produce an EXE file using the Application Builder, my colleagues are able to run this on their machines using the LabVIEW Runtime Engine version 8.6.
    If I upgrade to LabVIEW 2009, will all my colleagues who use the runtime engine also have to upgrade to the Runtime Engine 2009, or will I have the option to build an EXE file that is compatible with version 8.6 of the Runtime Engine.
    Many Thanks,
    Dan
    Dan
    CLD

    There are no option for build "8.6" compatible application from LabVIEW 2009 (other than save for 8.6 and build in 8.6).
    For LabVIEW 2009 - builded application you will need according version of the Run-Time Engine.
    Important point, that Run-Time Engine version 2009 will not replace version 8.6. It means, if you have PC where Run-Time 8.6 installed, and after that on this PC you will install Run-Time 2009, then you can run both 8.6 and 2009 - builded applications.
    Andrey.

  • How can I downgrade my Java version and Runtime Environment to 6?

    Hi, thanks for reading this in advance:
    I have a couple problems. Ever since Java Preferences was removed in one of Lion's updates I have been having trouble with java.
    How do I downgrade my java and runtime environment to java 6?
    When I go into terminal, and type java -version, this is what I get:
    java version "1.7.0_09"
    Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
    How do I downgrade the "java version" to 6 and how do I downgrade the SE Runtime Environment to 6?
    I accidentally installed 7 a couple days ago and I've been having trouble with some applications.
    Thank you so much.

    Dear Minionsman and everyone who reads this. I was so happy when i downgraded and i wanted to share it to all, I have found out why it says this in terminal
    java version "1.7.0_09"
    Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
    and why it says something different on java tester
    Its because java 7 blocks every java version below it.
    How do you downgrade?
    Well all you do is delete a few files
    INSTRUCTIONS BELOW
    1.Open Terminal
    2. Enter these commands
    sudo mkdir -p /Library/Internet\ Plug-Ins/disabled
    sudo mv /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/disabled
    sudo ln -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI .plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
    sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Commands/javaws /usr/bin/javaws
    3.
    Go to /Library/Internet Plug-Ins/ and delete the JavaAppletPlugin.plugin bundle.
    4.
    Go to /System/Library/Java/JavaVirtualMachines/ and delete anything whose name starts with jdk1.7.0 or says Java 7 or something similar.
    5. now go to terminal and type
    java -version
    6.it should say something like this
    java version "1.6.0_35"
    Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11M4508)
    Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode)
    <Edited by Host>

  • Java version on different users

    Hi,
    OS:red hat 4.2
    apps 11.5.10
    Here we installed java *1.5, 1.4*
    In applydev user,
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    . /ydev/u01/oracle/ydevappl/APPSORA.env
    export PWR_TOP=/ydev/u01/oracle/ydevappl/pwr/11.5.0
    OC4J_TOP=$PWR_TOP/oc4j
    export OC4J_TOP
    export LD_ASSUME_KERNEL=2.4.19
    export PATH
    unset USERNAME
    [applydev@server2 ~]$
    If we executed java -version
    [applydev@server2 ~]$ java -version
    java version "1.5.0_15"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
    if we executed only java ,we got the following output
    [applydev@server2 ~]$ java
    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-options] -jar jarfile [args...]
    (to execute a jar file)
    where options include:
    -d32 use a 32-bit data model if available
    -d64 use a 64-bit data model if available
    -client to select the "client" VM
    -server to select the "server" VM
    -hotspot is a synonym for the "client" VM [deprecated]
    The default VM is server,
    because you are running on a server-class machine.
    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
    A : separated list of directories, JAR archives,
    and ZIP archives to search for class files.
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -version:<value>
    require the specified version to run
    -showversion print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
    include/exclude user private JREs in the version search
    -? -help print this help message
    -X print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
    enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
    disable assertions
    -esa | -enablesystemassertions
    enable system assertions
    -dsa | -disablesystemassertions
    disable system assertions
    -agentlib:<libname>[=<options>]
    load native agent library <libname>, e.g. -agentlib:hprof
    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
    load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
    load Java programming language agent, see java.lang.instrument
    [applydev@server2 ~]$
    In another user abuabucker
    bash_profile
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    #. /ydev/u01/oracle/ydevappl/APPSORA.env
    export PWR_TOP=/ydev/u01/oracle/ydevappl/pwr/11.5.0
    OC4J_TOP=$PWR_TOP/oc4j
    export OC4J_TOP
    export JAVA_TOP=/usr/java/j2sdk1.4.2_04
    export PATH
    unset USERNAME
    if we executed java -version
    [abubucker@server2 ~]$ java -version
    java version "1.4.2"
    gcj (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)
    Copyright (C) 2004 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    if we executed java only
    we got the following output
    [abubucker@server2 ~]$ java
    Usage: gij [OPTION] ... CLASS [ARGS] ...
    to invoke CLASS.main, or
    gij -jar [OPTION] ... JARFILE [ARGS] ...
    to execute a jar file
    Try `gij --help' for more information.
    where options include: this one is missing at abuabucker user.
    so develop able to compile the program properly.
    how to resolve that

    Hi,
    thanks for reply.if we remove the comment,java version is j2sdk1.5.
    but developer needs 1.4..
    we set the JAVA_HOME=/usr/java/j2sdk1.4.2_04
    i executed the followings
    why we don't get */usr/java/j2sdk1.4.2_04* when we iisued which java and whereis java
    how to do that
    [abubucker@server2 ~]$ java
    Usage: gij [OPTION] ... CLASS [ARGS] ...
    to invoke CLASS.main, or
    gij -jar [OPTION] ... JARFILE [ARGS] ...
    to execute a jar file
    Try `gij --help' for more information.
    [abubucker@server2 ~]$ which java
    /usr/bin/java
    [abubucker@server2 ~]$ whereis java
    java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java
    [abubucker@server2 ~]$

  • Won't install java 1.8 says version already exists 14.9

    I'm trying to create a database in Open Office which I was able to do fine this morning, but now after updating OO it is telling me "no java installation could be found". When I go to oracle to download the latest Java version the machine tells me I already have version 14.9 installed which as far as I can tell from google searching is  not an actual version of Java since every link is in another language. I've gone through the forums to see how to delete the version of "java" that I do have off the machine. Opened the terminal and cut and pasted in the command from this post: When trying to install newest Java, computer says a newer one already exists? But it says I need a password to run the command. There is no solution on this thread. So I'd really love for someone to tell me what the heck give here. (I'm running 10.9.5 and trying to use OO 4.1.1. I've gone through the OO forums to no avail as well.)

    How I was able to overcome the Java 14.9.0 problem
    My iMac (late 2009) was yesterday updated to  Mountain Lion 10.8.5 and today  I updated Java through Apple Store, which resulted in Java 14.9.0 and it was unable to run.
    After researching, I found the following path that was 100% successful to delete Java 14.9.0 and able to install Java 10.8.40.
    On the  System Preference for Mountain Lion OS X 10.8.5 go to section: 
    1. Personal -> Security Privacy -> Firewall -> turn it off
    2. General-> Check "Allow application downloaded from anywhere".
    (In case if Norton Firewall is on: check it  Disabled)
    On Finder -> Devices -> Macintosh HD and localize Java Applet Plugin.plugin and move it to trash:
    Finder -> Devices -> Macintosh HD -> Library -> Internet Plug-Ins -> JavaAppletPlugin.plugin
    Go to www.java.com and install Java version 8 update 40.
    After following the  steps, verify its installation.
    Go back to System Preference and localize in the section Other  "Java Control Panel". Click on its icon and go to Security and check "Enable Java content in the browser".
    Check browser to activate Java Plug in: Firefox -> Tools -> Add-ons ->Plugins -> Java Applet Plug-in - Java 8 Update 40
    Check "Always Activate " or "Ask to Activate"
    Hope these paths help you.

Maybe you are looking for

  • Accounting Document for New Movement Type

    Good day! Here's the scenario: I have created a new movement type in SPRO. I just copied from the existing movement type closely related to what I wanted to create. I executed the transaction in MB1C and it went well and generated a Material Document

  • Printing calendar in the month format

    After my upgrade to Leopard I am not able to print my ical by the month. The only options in my print dialog is view by Day or list. How can I fix this?

  • Shutdown directive bundle doesn't allow windows updates

    I have a directive bundle to shutdown a machine. The bundle works fine in terms of shutting down the machine at the appointed time, however, what it does not seem to do, at least on Windows 7, is to apply any updates. If you have pending updates to a

  • Help!!!! Where to buy travelsound 400 power adaptor

    I recently brought a Creative travelsound 400 portable speaker system but was unable to find a power adapter for use with the speakers, as I use the speakers frequently and eat through stacks of batteries. Does anyone know where to buy this accessory

  • See volume discount on salesorder for Item in row

    Hi Experts, Is there a easy way to get information when entering a salesorder and see the specific volume discount per item in the salesrow?? thx mark