Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting what VM an applet is executed in?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello everyone!

Quick question:

Is there a way to specify, either in the applet or when calling the applet, which VM it is going to be executed in. Supposing the client has a JRE installed.

I would REALLY appreciate some help, any help!

Thanks!
 
When dealing with Applets in Java, the JVM that the applet uses is determined by the Browser and what it supports. Almost all browsers support Java 1.1. If you want to use Java 2 API (Swings, wave files, etc.) you will have to run a Plugin on your HTML file. It puts special tags into your html and they over-ride the browser to use the later versions of Java 2, etc. The bad thing though is the user will be prompted to download the latest JRE for this plug-in the first time a Applet is run.

For more information, check out the HTML Converter Plug-In on
Brian
 
Hi Brian!

Thanks a million for the info. But I was wondering if you could give me an example of how to use this plug-in. I also tried to search Sun's site for info on this HTML converter plug-in but I did not find anything...

I would really appreciate any help you could give me.

Cheers!
 
Here is the site link:


This works with Java 1.3 version. Documentation is there online. Just install it on your windows platform and run your html file through the HTML Converter. Then your HTML should work in your browser. You can tell by double clicking on the html file.

Hope this helps.

Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top