Webstart 6.0 Forcing JRE Version and Arch

I have an Eclipse RCP application that is being deployed via Webstart 6.0. Our users hit our tomcat webserver and download the root jnlp. When the root JNLP is double-clicked the very first time (from the browser status bar) the application launches successfully. If the user attempts to launch the application again by double clicking on the file in their downloads folder or via the java application cache viewer the application fails. After much research I discovered that several of the jars are not being loaded on the second attempt, ie. org.eclipse.swt.win32.win32.x86_3.7.2.v3740f.jar). Looking at the javaws logs I found this difference:
When it worked the log showed:
<record>
<date>2012-03-22T13:11:10</date>
<millis>1332443470149</millis>
<sequence>222</sequence>
<logger>com.sun.deploy</logger>
<level>FINE</level>
<class>com.sun.deploy.util.LoggerTraceListener</class>
<method>print</method>
<thread>10</thread>
<message>basic: DefaultMatchJRE:
JREDesc: JREDesc[version 1.5+, heap=-1--1, args=null, href=null, sel=true, null, null]
JREInfo: JREInfo for index 0:
platform is: 1.6
product is: 1.6.0_26
location is: http://java.sun.com/products/autodl/j2se
path is: C:\Program Files (x86)\Java\jre6\bin\javaw.exe
args is: null
native platform is: Windows, x86 [ x86, 32bit ]
enabled is: true
registered is: true
system is: true
Init Heap: -1
Max Heap: 67108864
Satisfying: false, true
SatisfyingVersion: true
SatisfyingJVMArgs: false, true
SatisfyingSecure: false
Selected JVMParam: [JVMParameters: isSecure: false, args: [email protected]/AppData [email protected]/AppData -Declipse.application=com.issinc.tnsClient.core.application]
Running JVMParam: [JVMParameters: isSecure: true, args: ]
</message>
</record>
When it failed:
record>
<date>2012-03-22T13:11:45</date>
<millis>1332443505434</millis>
<sequence>214</sequence>
<logger>com.sun.deploy</logger>
<level>FINE</level>
<class>com.sun.deploy.util.LoggerTraceListener</class>
<method>print</method>
<thread>10</thread>
<message>basic: DefaultMatchJRE:
JREDesc: JREDesc[version 1.5+, heap=-1--1, args=null, href=null, sel=true, null, null]
JREInfo: JREInfo for index 0:
platform is: 1.6
product is: 1.6.0_30
location is: http://java.sun.com/products/autodl/j2se
path is: C:\Program Files\Java\jdk1.6.0_30\bin\javaw.exe
args is: null
native platform is: Windows, amd64 [ x86_64, 64bit ]
enabled is: true
registered is: true
system is: true
Init Heap: -1
Max Heap: 67108864
Satisfying: false, true
SatisfyingVersion: true
SatisfyingJVMArgs: false, true
SatisfyingSecure: false
Selected JVMParam: [JVMParameters: isSecure: false, args: [email protected]/AppData [email protected]/AppData -Declipse.application=com.issinc.tnsClient.core.application]
Running JVMParam: [JVMParameters: isSecure: true, args: ]
</message>
</record>
My JNLP has:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://localhost:9080/RcpClient" href="rcpclient.jnlp">
     <information>
          <title>RCP Client</title>
          <vendor>My Company</vendor>
          <description>RCP Client Application</description>
          <shortcut>
               <desktop/>
          </shortcut>
     </information>
     <security>
          <all-permissions/>
     </security>
     <update check="always" policy="always"/>
     <resources>
          <jar href="plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar"/>
          <extension name="Wrapper feature" href="features/rcpClient_1.0.0.jnlp" />
          <property name="osgi.instance.area" value="@user.home/AppData"/>
          <property name="osgi.configuration.area" value="@user.home/AppData"/>
          <property name="eclipse.application" value="rcpClient.core.application"/>
     </resources>
     <resources os="Windows" arch="x86">
          <j2se version="1.5+"/>
     </resources>
     <application-desc main-class="org.eclipse.equinox.launcher.WebStartMain">
          <argument>-nosplash</argument>
     </application-desc>
</jnlp>
I've tried several different options on the j2se and the resources os="Windows", but with no success. How do I control the version of the jre used so that the app runs consistently? On my development laptop I have both a 32 and 64 bit JRE, our end users will most likely only have the 32 bit.

It will be easier if you will paste trace files. See troubleshooting guide for more details on how to get detailed trace:
http://docs.oracle.com/javase/7/docs/webnotes/tsg/TSG-Desktop/html/plugin.html#gcexdf
The only weird thing in your log snippet (that is too small to give full picture) is that second time JRE is used from inside the JDK.
This should not happen and likely caused by the fact JDK bin folder is in your system PATH (unless it is corrupt registry).
Try removing it or add true JRE folder in front of JDK bin in the path.
Generally speaking JDK is not supposed to be used to run webstart or applets. It is good for development (compilation) but to execute
webstart or applet it is expected that user has JRE installed.

Similar Messages

  • JRE versions and Browsers and Applets

    Is there a way to assign a particular JRE version to a browser session through JavaScript or VBScript programatically so that I can run applets from different sources which need different JREs?
    Basically I will have 2 links/buttons which will call two separate javascript methods to open two different browser windows to run two different applets running under different JREs
    However when I start IE each 'session' of IE is assigned to one JRE, any way to overcome this?
    TIA,
    Raj

    Martin thanks for your inputs
    I am sourcing html pages from multiple sites and the html/applet tag is generated by those websites.
    They do have the applet tag pointing to proper class-id of the java plugin.
    However, the problem is with IE one family(session) of browsers are attached to one version of JRE plugin.
    Here 'session' means: you open a browser and from within that browser you do go from a link or javascript etc. to another browser they are in same 'session'
    I am working on dynamically setting JRE plugin version to different browsers.
    Not sure I made it clear or confusing : )
    Thanks

  • General Question about JRE - Versions and backward compatibility etc

    Could someone maybe help me with this query?
    I've got a group of network users who use a total of four java applications which I am told require different versions of the Java Runtime Environment to run.
    Is it therefore possible to have muliple versions of the RTE installed on one user machine to make all applications work at once or is it simply a case of having to have only one version of the JRE.
    I'm talking mainly about in house applications so I guess if some of them are incompatible with the latest JRE then the answer might be to find out what the problem is and fix the application so it works in the lates jre - or am I missing something?

    Hello,
    First of all, it is possible to keep several JRE installed in Windows. For example, my PC has JRE 1.3.1.8, 1.4.0.1, 1.4.2.6.
    Second. A tecnology exists to cause a Windowst to run a specific JRE for a specific Java applet. Please see the text below.
    HTML Applet Configuration
    � The standard (Internet) method of calling Java Runtime when using a Java Applet is to use an Applet tag within the HTML file itself specifying the applet details (example below). This tries to attach itself to Microsoft Java Runtime registry CLSID as detailed above.
    <applet code=Applet1.class width="200" height="200">
    Your browser does not support the <code>applet</code> tag.
    </applet>
    � When the above call is made either, a) the applet will load in the Microsoft Java Runtime, b) the applet will load in a particular Sun Java Runtime as it�s being redirected or c) the applet won�t load at all as Microsoft Java Runtime isn�t installed and Sun Java isn�t set as default.
    � The above can be uncontrolled as to what version of Java (if any) is actually used to launch an applet so have an alternative solution is to us the Object tag in place of the Applet tag. It�s only suitable for Internet Explorer in an internal, Intranet environment but should be ideal for us.
    � By replacing the Applet HTML tag with the Object tag when loading an applet you can specify in the tag either to use the latest installed version of Sun Java or a specific version by putting it�s CLSID in the list. (example below.)
    <OBJECT
    classid="clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBB"
    width="200" height="200">
    <PARAM name="code" value="Applet1.class">
    </OBJECT>
    � The advantage in the above approach is we can install a specific version of Java, i.e. 1.4.2.06 that doesn�t redirect the Microsoft Java Runtime so won�t effect other applications, and we can be safe in the knowledge that even if we install a newer version of Java on a machine that has 1.4.2.06 we won�t have any backwards compatibility problems.
    � The Object tag is an Internet Explorer only solution, but could be scaled, as to load a different version of Java you specify a different CLSID, whether that�s one of the versions of Sun Java or Microsoft Java or you can specify a CLSID that covers the latest installed version of Sun Java if you don�t want to tie the application to a specific version.
    Further details on the use of the Applet and Object tags can be found on the Sun website below so they may be of use if the HTML code that calls the Java applet can be easily changed to support our requirements.
    http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/using_tags.html
    http://java.sun.com/products/plugin/versions.html

  • How to find version and arch of Oracle client installed

    Hi all
    I have sles 10 sp2 x86_64 on which oracle client 10.2 is installed. this installation was not done by me!
    so i dont know what version/architecture (32/64 bit) mode of the oracle client is installed on the client.
    from sqlplus -V i get only the version which is installed and not whether it is 32 or 64 bit. how can i find that out.
    sqlplus -V
    SQL*Plus: Release 10.2.0.1.0 - Production
    with a bit of googling i found only the below link which says 10g client 32-bit cannot be installed on a 64 bit system.
    i read this Installing 32-bit RDBMS Client software on x86_64 Linux. [ID 1075717.1]
    Installing 32-bit RDBMS Client software on x86_64 Linux.
    The only release of 32-bit RDBMS Client software that will properly install on an x86_64 Linux OS system is 11gR2 (aka 11.2.0.x)
        * 9iR2 (aka 9.2.0.x) 32-bit RDBMS Client software will NOT install on any x86_64 Linux OS system.
        * 10gR1 (aka 10.1.0.x) 32-bit RDBMS Client software will NOT install on any x86_64 Linux OS system.
        * 10gR2 (aka 10.2.0.x) 32-bit RDBMS Client software will NOT install on any x86_64 Linux OS system.
        * 11gR1 (aka 11.1.0.x) 32-bit RDBMS Client software will NOT install on any x86_64 Linux OS system.
    The answer to "why", is that the 11gR2 Client software is the first version that includes syntax so that a 32-bit object is linked.can someone please throw more light on this?

    If you have "64bit" string in V$VERSION it means Oracle 64bit is running.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - ProductionIf you have no "64bit" string in V$VERSION it means Oracle 32bit is running.

  • How to get the Most RECENTLY installed JRE path and version ?

    Hello Experts,
    I am working on Installshield, and for some purpose, I need to get the MOST RECENTLY installed JRE version and Path. Now I have two choices :
    1. Go into the directory " C:\Program Files\Java\" and get the most recently changed directory, ( that will be the installation directory of the most recently installed JRE ). And then search in the registry under : HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/Java Runtime Environment/ and look for the version which is having
    the value of the key INSTALLDIR as the above found Installation Directory.
    But in this approach, I'll never find the Installation dir or version, if the JRE is installed somewhere else than the default location.
    2. Now this is the reverse. I first search in the registry, and get the Installation Directories of all the versions installed in the system, and then look at the file attributes ( may be by using some batch file ) and see which one is most recently installed.
    My question is, is there any other way, by which I can get the most recently installed JRE's installation Path and version? Or can we trace it during the installation itself ? I mean when we install the JRE, it creates some log files in %TEMP% directory. Is it possible to trace the version and installation directory of the most recently installed JRE from the log file ?
    Thanks
    Gagan

    Rendering times are pretty much based on processor speed if I have that right. Not much you can do about that other than buy a new computer. Your day to day work in the finder and accessing of files would be faster with your boot drive internal. One thing you can do is ensure your FCP System Settings are on the fastest disk you have. If you put a pair of drives internal and made a RAID volume for them you would improve your write speed when capturing and for any other read/write operations. You would have to be sure you kept that backed up properly because you double the odds of a failure when two drives spread the data between them. There are many RAID options.
    You could also bump up the RAM but you'd have to look at your processes to see if you are being limited by RAM. I'm guessing not but it's not impossible. If you are accessing scratch disks due to RAM limitations that would be one thing you could do.
    I would never bother connecting an external via USB if there was an esata or firewire option. I use an esata card internally to give me access to estata storage. I also keep an external FW800 drive for a mirror backup of my boot drive. All my data and booting is internal with all my backups external. Each internal has an external and I have additional externals that I keep off site to protect against fire and theft.

  • Pressing Tab key in IE with latest JRE version

    Hi,
    I have question about typing "TAB" key in Java Applet in internet explorer with JRE 1.05_08 or above.
    When I type any key other than "TAB", the function, processEvent, will be called 3 times to process the events: keyPressed, keyTyped and keyReleased. However, when I type "TAB" key, processEvent is only called once to process the event: keyTyped and the focus goes outside the applet.
    Is there any way that the focus won't get lost when typing the "TAB" key?
    Note that this problem only happens in IE browser with JRE 1.05_08 or above. It works well in Firefox and netscape with any JRE version and works well in IE with JRE 1.05_06 and below.
    The following is my code:
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class KeyEventDemo extends Applet implements KeyListener, FocusListener {
         public KeyEventDemo() {
              super();
              addKeyListener(this);
              addFocusListener(this);
         public void keyTyped(KeyEvent e) {
              System.out.println("KEY TYPED: e="+e);
         public void keyPressed(KeyEvent e) {
              System.out.println("KEY PRESSED: e="+e);
         public void keyReleased(KeyEvent e) {
              System.out.println("KEY RELEASED: e="+e);
         public boolean keyDown(Event e, int key) {
              System.out.println("keyDown: e="+e);
              return false;
         public boolean keyUp(Event e, int key) {
              System.out.println("keyUp: e="+e);
              return false;
         public void processEvent(AWTEvent e) {
              System.out.println("processEvent : e="+e);
         public void focusGained(FocusEvent e){System.out.println("FocusGained");}
         public void focusLost(FocusEvent e){System.out.println("FocusLost");}
         public void paint ( Graphics g ){
              this.setBackground ( Color.blue );
         public boolean isFocusTraversable() {
              return true;
         public boolean getFocusTraversalKeysEnabled() {
              return false;
    Thanks very much!

    I apologize - the cross posting snookered me; the solution is provided on:
    http://forum.java.sun.com/thread.jspa?threadID=780250&messageID=4438725#4438725

  • JRE version check?

    Hi,
    I want put restriction on lower version of JRE's.
    Now I'm checking this in following ways.
               String version = System.getProperty("java.version");
                if ((version.indexOf("1.4") == -1) && (version.indexOf("1.5") == -1))
                      //Show error that inproper JRE version and return;
                }But I want to put restriction on only lower versions of 1.4 JRE, not on upper versions like 1.6.
    How to achieve this?
    Thanks in advance,
    Vikas

    As you suggested we can compile source code with 1.5 or 1.6 which won't run with 1.4.
    But at the time of application invocation I want to show msg that, this application will not work with JRE 1.4
    So I want put generic check for all lower versions like if version is lower than 1.5 show error msg.
    Thanks,
    Vikas

  • Mismatch of JDK and JRE versions cause screen freeze for applications ?

    Hi,
    My Java swing application is built on jdk1.3.1_17 in server. It was working fine without any issue when I use Java webstart 1.0.1 to download the client part of the application and JRE 1.3.1_10 to run the application from my local desktop.
    For better performance, I upgraded my local desktop to 1.4.2_07 version of JRE and same version of java Web start 2 months before. From that day, I am facing a "Screen freeze" issue in my application. It means, while working on the application, the application screen goes blank or White screen. This issue may come while doing any activity all of a sudden , there is no pattern found.
    Is there any reason like incompatibility of lower JDK version and higher JRE/JWS versions could have caused this issue ? Any Idea plz
    Thanks in advance
    David

    I'm using a 15" Macbook Pro with Retina Display. The applications I have are Indesign, Illustrator, and Photoshop. Over a period of time, using these programs will make the screen turn blank. Sometimes, the screen turns a solid color and it just happens to be what ever color I've been using with the Color picker tool.
    I don't know for sure what it could be. I tried checking Disk Utility (one problem was solve, but blank screen wasn't fixed).
    I have to force reboot only to be faced with another blank screen. I either keep trying or keep cmd+opt+p+r until the screen boots back to normal. (This is probably due to the programs not shutting down properly when the laptop blank screens)

  • I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Is Apple aware of this problem? No longer supported?

    My web page uses a Java Applet to allow my visitors to replay chess games; the Chess Viewer Deluxe applet was written by Nikolai Pilafov some time ago and has been working properly for some time (until recently). I don't monitor this part of my site regularly so I am not sure when it began to fail. On his web site [http://chesstuff.blogspot.com/2008/11/chess-viewer-deluxe.html] he has a link to check LiveConnect object functionality (which fails for OBJECT tags). His recommendation is to "seek platform specific support which might be available from the JRE developers for your platform".
    I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Until I checked the LiveConnect object functionality, I was unable to identify the source of the console error messages. This does seem to be the smoking gun.
    Is Apple aware of this problem? Are these classes no longer supported? Has anyone else had this problem? You can attempt to recreate the problem locally by going to my web page: http://donsmallidge.com/DonSmallidgeChess.html
    Thanks in advance for any help you can provide!
    Abbreviated Java Console output:
    Java Plug-in 1.6.0_26
    Using JRE version 1.6.0_26-b03-384-10M3425 Java HotSpot(TM) 64-Bit Server VM
    load: class ZeroApplet.class not found.
    java.lang.ClassNotFoundException: ZeroApplet.class
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:680)
    load: class JavaToJS.class not found.
    java.lang.ClassNotFoundException: JavaToJS.class
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:680)

    I just went up to check the LiveConnect object functionality page AND IT WORKED THIS TIME! I must confess, this is very mysterious. I will do some more checking and reply here if I can determine why it is working now (and more importantly, why it didn't work before).

  • Trial version of Illustrator CC 2014 takes over my CS6 old version and forces me to use CC 2014 on launch. How to fix?

    Trial version of Illustrator CC 2014 takes over my CS6 old version and forces me to use CC 2014 on launch. How to fix? FIle> get info>won't let me choose >Open this file with CS6. Forces me to use CC 2014 Illustrator which I don't want because I am doing client work in CS6 that I own and I do not have time to try out the CC version.
    I also do not like the black interface in illustrator as I cannot even see the layer icon at the bottom. I won't want to buy it if this is all that's offered.

    You can change the UI brightness in the prefs. Otherwise I'm not clear what your issue is. Handling file associations are operating system basics and you can look them up on a simple web search and from drag&drop onto the launchpad/ dock icon for CS6 to opening the files directly from within AI there sure are enough alternatives, don't you think?
    Mylenium

  • Jre-6u22 and greater breaks java webstart 1.4.2_11 application

    I have a java web start application that actually worked in jre-6u18, but but definitely breaks with the jre-6u24 and I suspect any other jre greater than jre-6u21. The reason I suspect this is because a buddy of mine also experienced a similar issue and determined the breakage for him was between jre-6u21 and jre6-u22. I have tested in pristine environments and found breakage between jre-6u18 and jre-6u24 only because I do not presently have any of the versions in between to test.
    Here are the details:
    The JNLP file is configured to autodownload <j2se version="1.4.2_11*" href="http://java.sun.com/products/autodl/j2se" initial-heap-size="64m" max-heap-size="256m"/>
    The launch attempt successfully downloads and installs this JRE in both 6u21 and 6u24.
    It has been re-written from spec="1.0" to spec="1.5" and when I try to run it directly with the 1.4.2/javaws/javaws.exe it breaks with error stating that it is incompatible with spec="1.5" and to use a more up to date JVM.
    When launched with jre-6u18 it installed the j2re1.4.2 and continued to fail to launch the application initially, but succeeded to launch it on a second attempt.
    When launched with jre-6u24 it installed the j2re1.4.2 and ultimately failed on any consecutive attempt as well as the initial attempt usually with the following console output:
    Java Web Start 1.6.0_24
    Using JRE version 1.4.2_11-b06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\smithj
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    0-5: set trace level to <n>
    FATAL 2011-04-08 14:42:03,441 [javawsApplicationMain] (JavaApp.java:1086) - Error starting JavaApp
    java.util.MissingResourceException: Can't find bundle for base name my.co.pkg.myprops, locale en_US
         at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
         at java.util.ResourceBundle.getBundleImpl(Unknown Source)
         at java.util.ResourceBundle.getBundle(Unknown Source)
    I compared the differences between the properties of the shortcuts that got created for the successful one and the unsuccessful one and they seem identical except for a minor cache difference as follows:
    C:\WINDOWS\system32\javaws.exe -localfile "C:\Documents and Settings\smithj\Application Data\Sun\Java\Deployment\cache\6.0\39\3a08ece7-75d85e43"
    C:\WINDOWS\system32\javaws.exe -localfile "C:\Documents and Settings\smithj\Application Data\Sun\Java\Deployment\cache\6.0\39\3a08ece7-5657ebe9"
    Has anybody else experienced this type of breakage? Does anybody else have an answer, solution, or suggestion other than "upgrade your 1.4.2 app"?
    thanks in advance.

    851004 wrote:
    ..It has been re-written from spec="1.0" to spec="1.5" ..Who changed it, and why?
    ..Does anybody else have an answer, solution, or suggestion ..?I suggest:
    <ul>
    <li>Change the spec. number back to something that 1.4 JWS claims to understand (i.e. "1.0").
    <li>Checking the launch file using JaNeLA
    </ul>
    Edited by: Andrew Thompson on Apr 9, 2011 7:54 AM

  • Use 2 jre versions (Java 5.x and Java 6.x) on diferent web pages.

    On windows XP SP3.
    I need use on internet explorer 7 and firefox 3, 2 differents JRE versions for two diferent servers
    example:
    - "www.site1.com" needs java 5.x (don't work with java 6.x)
    - "www.site2.com" needs java 6.x (don't work with java 5.x)
    If i have installed both versions, internet explorer and firefox even uses java 6.x, and i only can use java 5.x if uninstall java 6.x
    I need use to default use: java 6.x; except for "www.site1.com" that i need use java 5.x
    How can use both JRE versions?

    Questions: Do you plan to use the same web browser? The earlier applet running on JRE 1.5.x cannot run on 1.6 ? Sun puts forth a lot of effort in attempt to ensure that applets are forwards compatible.

  • JRE Download and versioning

    We have an issue where we require a specific JRE version, 1.4.2_06 with our application. The jnlp file has the href set to autodl from Sun, which it does when the user is not on the required JRE.
    The problem is after the JRE completes its installation, the latest JRE version is not the default which end up in a "No JRE in launch file" error and the application will not start.
    I have seen similar posts, all day long as a matter of fact. Has anyone found a solution for this issue yet?
    Thanks.

    Thanks for the reply.
    The jre versions varied due to the fact that I was testing on different machines in our lab. Does the initial version of the jre make a difference in whether or not the recently downloaded jre gets selected?

  • J2EE and related J2SE/JRE versions

    I understand the difference between J2EE and J2SE/SDK/JDK, and JRE. However, I'm having trouble identifying what version of SDK each of the J2EE versions uses. Maybe they match up.
    For example, if I have an old project someone says was built with J2EE 1.3 SDK, does that use J2SE/JRE 1.3? Does Java EE 5 use Java 1.5? 1.6? 1.4? (For example, if I'm setting Eclipse Compiler Compliance Level for a J2EE 1.3 project, what should it be?)

    is there a way for me to know what Java version that would have been or could have been compiled against?No.
    Edit: Slight clarification - the class files in the application contain a magic number that corresponds with the compiler target - so for any given class file you can determine what JRE was targeted at compile time. This can be different from the compiler version. Different classes in the same application may have been targeted to different JRE versions.
    Are there any versions of Java that it could not be compiled against?No.
    what version of Java does the Application Server on which this will be deployed support.The Application Server will be running on a JRE corresponding to a particular Java release. That JRE will support all versions of Java prior to the release. Code compiled on subsequent versions of Java can, if suitably written, be targeted to run on that version of the JRE and (depending on versions) may not need specific targeting to do so. Whether they in fact work or not depends entirely on what library calls they make.
    What's the business requirement that drives this request?
    Edited by: dcminter on 03-Mar-2010 18:54

  • Problem selecting the right jre version with jnlp

    I am using Webstart 1.4.2.
    When instaling, it correctly found 2 jre versions on my system, 1.4.1_03 and 1.4.2.
    Because our application currently is not working with 1.4.2 I need to force webstart to use 1.4.1_03.
    I tried to set the tag <j2se version="1.4.1_03"
    When loading from the websever I get a "Error Code 11 (11 Could not locate requested version) "...same if I explicitly set to 1.4.2.
    I suspect that webstart is checking the "platform version" which are set for both to 1.4 and not the "product version" (see java preferences in webstart).
    Does somebody know if there is another jnlp tag I can use to force a specific version? or any other workaround.
    In my opinion this is a bug webstart should check the product version
    Thanks Marc

    had the same problem...
    ad the url and try again:
    <resources>
    <j2se version="1.4.1_03" href="http://java.sun.com/products/autodl/j2se"/>
    <jar href="...
    as far as I now are not all JRE's available for autodownload.
    Good luck!

Maybe you are looking for

  • Time Machine backup & External Hard drive issue

    Hello, I have a MBP running Snow Leopard. I use two external Hard drives for Time Machime backups. The first one Seagate2TB is working with TM just fine.  The second one Seagate3TB worked with TM just fine for about a year until two days ago. Since t

  • How to install Kannada (Indian language) font on to Photoshop cc?

    I am unable to type a text in Kannada (Indian) language in Photoshop CC. Need help.

  • Process Flow - External process - Return status

    Did any one know how to capture or get the return value when executing a shell script thru Process flow - User defined - External process? This is the scenario. OWB Server on UNIX. Version-10.2, Database-9i I am executing a simple "whoami" command th

  • Spry Element Problems...

    Hello! I am working on my website and getting conflicts with Spry Elements. I have inserted a Spry Menu at the top of my page in a fixed position, and then in the content area of my page I have Spry Tabs. The problem is that even though I have the z-

  • Can i change assignment of sales organization/company code?

    Hi, I have sales organizations SO1, SO2 assigned to company code CC1 sales organizations SO3, SO4 assigned to company code CC2 can i change this assignment?, for example: sales organizations SO1, SO2 reassigned to company code CC2 i.e.: before: sales