
Signature
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
OK, in JWS I selected File -> Preferences -> Java. Both versions
1.4.2_06 and 1.3.1_15 are listed as enabled. I disable 1.3.1_15, click
OK, and go to http://www.javatester.org/version.html. It tells me my
version is 1.3.1_15. Likewise, http://www.cyscape.com/showbrow.asp
tells me I'm running 1.3.1_15 also. If I disable both versions, both
sites still say I'm running 1.3.1_15. The Java Plug-in Control Panel
looks like it lets you select the JRE environment also. But that seems
to have no effect as well. Any ideas?
> > I need to run two different applets that require different JRE versions
> > on a Windows XP SP1 workstation.
[quoted text clipped - 10 lines]
> http://www.1point1C.org/ Science & Technology
> http://www.LensEscapes.com/ Images that escape the mundane
Andrew Thompson - 14 Jan 2005 08:07 GMT
Please post your replies below earlier text, and trim any
text no longer relevant.
<http://www.physci.org/codes/javafaq.jsp#netiquette>
See further comments in that style (below).
>>> I need to run two different applets that require different JRE
> versions
..
>> JWS can specify the Java run-time version to use.
..
> OK, in JWS I selected File -> Preferences -> Java.
No, not OK.
To get JWS to work for you, you need to create a JNLP file[1].
Everything else happens automatically if ..
- The user clicks the link to the JNLP file
- The user's browser is running 1.3+
- The said browser has Java enabled
- (The user accepts the security certificate)
Though the last is not relevant to your problem. You can run
your applet in the default security sandbox, and do no need to
sign your code (though it will have to be in a Jar file).
Unfortunately I have yet to apply JWS to an applet, so I cannot
advise much further.
[1] Here is an example of a JNLP file..
<http://java.sun.com/j2se/1.4.2/docs/guide/jws/developersguide/syntax.html#example>
Note particularly the element in 'resources', near the bottom..
...
<resources>
<j2se version="1.4.2"/>
..
HTH

Signature
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane