Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • Last Modified:

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.
0
boomerang061797
Asked:
boomerang061797
  • 3
  • 2
  • 2
1 Solution
 
boomerang061797Author Commented:
Edited text of question
0
 
jhanceCommented:
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.
0
 
msmolyakCommented:
It's JDK 1.0.2 to be exact.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
jhanceCommented:
In that case your applet is doing something that violates the security model in Navigator.  When running in the Cafe appletviewer, the applet can do anything.  Inside Navigator, the "Java Sandbox" is in effect and you are trying to do something illegal.
0
 
boomerang061797Author Commented:
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?
0
 
msmolyakCommented:
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).
0
 
msmolyakCommented:
The better option is of course to get the lates version of Navigator (4.0.4) and forget about JDK 1.0.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now