Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Applets in Symmantec Cafe and Navigator

Posted on 1998-01-07
7
Medium Priority
?
232 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Industry Leaders: 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!

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

730 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