Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Emil Karlsson
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the Java Plugin control panel you can choose which JVM to use.

What execption are you seeing?
 
Emil Karlsson
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic