Solved

Applets in Symmantec Cafe and Navigator

Posted on 1998-01-07
7
230 Views
Last Modified: 2012-05-04
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
Comment
Question by:boomerang061797
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 

Author Comment

by:boomerang061797
ID: 1232009
Edited text of question
0
 
LVL 32

Expert Comment

by:jhance
ID: 1232010
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
 
LVL 5

Expert Comment

by:msmolyak
ID: 1232011
It's JDK 1.0.2 to be exact.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 32

Accepted Solution

by:
jhance earned 70 total points
ID: 1232012
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
 

Author Comment

by:boomerang061797
ID: 1232013
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
 
LVL 5

Expert Comment

by:msmolyak
ID: 1232014
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
 
LVL 5

Expert Comment

by:msmolyak
ID: 1232015
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How do I remove an object from a 3 60
JavaFX TableView not displaying correctly 3 159
CSV file parsing thru Java 13 54
convert Absolute path to relative path of FTP location 7 50
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This video teaches viewers about errors in exception handling.
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question