Applet Scripting: Applets & Javascript
Examples
Applet Scripting Issues
 | MS JVM (Microsoft's)
vs Sun's JVM & applets. The statements below have been tested with IE
v6.0.
 | Java Applets compiled with SDK 1.5 will not work with MS JVM. You
will need to use Sun's JVM. MS JVM can't load the .class file. |
 | MS JVM (Microsoft's Java
Virtual Machine) is based on API 1.1.6 |
 | Java Applets compiled with JDK 1.2 will work with MS JVM provided that
you just use API 1.1 calls. |
|
 |
IE - Java Console
 |
MS JVM
 |
View the Java Console (for Microsoft JVM
only).
 |
Launch IE. |
 |
Click View, Java Console. (Note: If you
don't see the option "Java Console" then you need enable "Java
Console". |
|
 |
To enable "Java Console"
 |
Launch IE |
 |
Tools, Internet Options, Advanced |
 |
Find the "Microsoft VM" section |
 |
Check - "Java console enabled (requires restart)
Check - "Java logging enabled" |
 |
Now close all of the browser windows (this is a
restart). |
 |
Now launch IE and view the Java Console. |
|
|
 |
Sun's JVM
 |
View the Java Console (for Sun's JVM only).
 |
Launch IE. |
 |
Tools, "Sun Java Console". (If this option
doesn't appear then you need to install Sun's JVM.) |
|
 |
Enable Sun's JVM
 |
Launch IE. |
 |
Tools, Internet Options, Advanced |
 |
Find the "Java (Sun)" section. (If you
don't have one then you don't have Sun's JVM installed.) |
 |
Check the "JVM that you want enabled." |
 |
Now close all of the browser windows (this is a
restart). |
 |
Now launch IE and view the Java Console. |
|
|
|
 |
IE settings - allow Applet Scripting
|
|