Link to home
Start Free TrialLog in
Avatar of boomerang061797
boomerang061797

asked on

Applets in Symmantec Cafe and Navigator

I am a beginner. I am at present using Symmentac's Visual Cafe for Java, Prof. dev. ed. 2.0.
When I try to run a simple applet (or run the example applet accompanying The Cafe) in Netscape Navigator Gold 3.01, I get the same error message:
APPLET CAN'T START: CLASS BUTTONTESTAPPLET GOT A SECURITY VIOLATION: METHOD VERIFICATION ERROR.
I have heard that Netscape Navigator doesn't support the latest Java versions. What can I do to instruct the Java compiler to create code which my browser can understand?
Any other suggestions would be welcome...
I should add that the applet works fine in the Symmantec Cafe's workspace.
Avatar of boomerang061797
boomerang061797

ASKER

Edited text of question
Be sure you set up to generate code for JDK 1.01 and not JDK 1.1.  Navigator 3.01 only support JDK 1.01.  I'd suspect that it in some sort of properties or compile options menu.
It's JDK 1.0.2 to be exact.
ASKER CERTIFIED SOLUTION
Avatar of jhance
jhance

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm having trouble finding exactly how to change the compiler options to generate 1.0.1/1.0.2 code. There is little information in the online help files. Any suggestions?
I am afraid VC 2.0 does not support JDK 1.0.x code. You can either use Symantec Cafe 1.8 which allows you to switch between JDK 1.1.x and 1.0.x (you have to do it outside of the environment though by running a batch file which moves files around). Or you can use JDK 1.0.2 to do the compiling.  You might have a problem however compiling code created in VC 2.0 since that environment is targeted for JDK 1.1. (For example when you visually represent component interacion the code that's generated is JDK 1.1 specific).
The better option is of course to get the lates version of Navigator (4.0.4) and forget about JDK 1.0.