Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Applet - ie5 version problem

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Or, if you are using jdk1.4, you can compile with the -target option.
 
It is an experimental device that will make my mind that most powerful force on earth! More powerful than this tiny ad!
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic