• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic