Solved

Need help with netscape security package

Posted on 2002-03-14
3
242 Views
Last Modified: 2011-09-20
Hello,

i m new to java and got a sample on writing applet with security.  When I compiled the code, it gave me this error message.
--
RemoteLib.java:8: cannot resolve symbol
symbol  : class PrivilegeManager
location: package security
import netscape.security.PrivilegeManager;
--

how/where should i get this privilegeManager package?
should i download it?
fyi, i compiled this code using jdk1.3.
i've checked the documentation(jdk1.3) and there's no privilegeManager class.
0
Comment
Question by:anil_80
3 Comments
 
LVL 6

Accepted Solution

by:
kotan earned 25 total points
ID: 6863826
Download these classes and place them in your compiler's classpath

http://developer.netscape.com/docs/manuals/signedobj/capsapi_classes.zip
0
 
LVL 9

Expert Comment

by:Venci75
ID: 6863829
If you have netscape installed on your machine, you must use the java40.jar in the netscape directory while compiling:
javac -classpath "c:\program files\netscape\communicator\program\java\classes\java40.jar" ....

check the whether the location of this file on your machine is the same
0
 

Author Comment

by:anil_80
ID: 6875540
thanks. i've been trying to search this on the internet but couldn't find it.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
eclipse package explorer vs project explorer view 2 135
Java JRE greater than 1.6 5 63
netstat -ano | find "8000" and taskkill /f /pid 2984 3 58
tomcat administrtor 12 49
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

832 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