aspose file tools
The moose likes Applets and the fly likes Problems when initiating applet for jre1.4.2 when jre1.5 is on the client Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "Problems when initiating applet for jre1.4.2 when jre1.5 is on the client" Watch "Problems when initiating applet for jre1.4.2 when jre1.5 is on the client" New topic
Author

Problems when initiating applet for jre1.4.2 when jre1.5 is on the client

Emil Karlsson
Ranch Hand

Joined: May 23, 2002
Posts: 63
Hi all,
as my header tries to say, I have an applet that is compiled with java1.4.2_09 and I have run the htmlconverter to get a correct calling for the applet.
Everything is OK when jre1.5 is not on the client, when it calls the right JRE. But if jre1.5 is installed it doesn't use what the <object> tag says. The applet starts alright but it throws an exception later on, when it uses jre1.5.

Does anyone know how I make sure that the applet use jre1.4.2_09 even if jre1.5 is installed?


BR Emil Karlsson

Calling of applet (converted wiht Htmlconverter).

[ May 05, 2006: Message edited by: Emil Karlsson ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35223
    
    7
In the Java Plugin control panel you can choose which JVM to use.

What execption are you seeing?


Android appsImageJ pluginsJava web charts
Emil Karlsson
Ranch Hand

Joined: May 23, 2002
Posts: 63
Hi,
The exception I'll get is Exception in thread "AWT-EventQueue-2" java.lang.StackOverflowError

And when I try to set to another JRE in the Java Plugin Control, only the jre for 1.5 is listed, not the older version prior to jre1.5!

Any idea what I can do?

BR, Emil Karlsson
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problems when initiating applet for jre1.4.2 when jre1.5 is on the client
 
Similar Threads
Installing IE7 broke my applet
Unable to load Applet in Tomcat 5.5.12
Reg: Running Swing in Browser
Unable to load Applet in Tomcat 5.5.12
JDK 1.5 Compiled Applet not working with JRE 1.4