Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet - ie5 version problem

 
Vishnu Murthy
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
suppose i developed an applet using the latest version of jdk, and when i try to access it from someother machine on ie5, will it execute?
when the applet get downloaded on the client's machine will it update the jvm also? do we have different versions of jvm for different versions of jdk?

thanx
vishnu
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
suppose i developed an applet using the latest version of jdk, and when i try to access it from someother machine on ie5, will it execute?
If you compile with the defaul settings, then the browser will require a Java 2 v1.3 plug-in or newer.
when the applet get downloaded on the client's machine will it update the jvm also?
No.
do we have different versions of jvm for different versions of jdk?
Yes.
You can specify a tag that will cause the user's browser to be forwarded to Sun's plug-in download/installation page. Take a look at Exploring Java 2 Browser Support for further details and an example applet tag.
 
Philip Shanks
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to provide an applet that will run in a "stock" Microsoft Virtual Machine (version 1.1.4), you will have to use a version 1.1.x compiler (and stay away from 1.2 code ).
I have made this work with a version 1.1.8 JDK, which is still available from Sun, but it is kind of a pain.
PCS
 
Marilyn de Queiroz
Sheriff
Posts: 9063
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or, if you are using jdk1.4, you can compile with the -target option.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic