Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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
  • 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: 43016
76
  • 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
 
Pay attention! Tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic