• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

what this mean?

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was compile a code with following starting lines
// QueryFrame - Database Query
import java.awt.*;
import java.awt.datatransfer.*;
import java.awt.event.*;
import java.sql.*;
import java.util.*;
import netscape.security.PrivilegeManager;
public class QueryFrame extends Frame
but at compile time I am getting this error:

D:\code1\query>javac QueryApplet.java
.\QueryFrame.java:8: Class netscape.security.PrivilegeManager not found in impor
t.
import netscape.security.PrivilegeManager;
^
1 error
what does this mean? and How could I rectify it.
any help
jaideep
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
netscape.security.PrivilegeManager is a class that is supplied by netscape. It can be found in java40.jar under your Communicator subdirectory. (usually C:\program files\netscape\communicator\program\java\classes) If you want to use these class files, you'll have to include the jar file in your class path setting. I would suggest determining what you are using the manager for and see if there isn't an equivalent in Sun's JDK for cross browser compatablity. Good Luck
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by jaideep:
I was compile a code with following starting lines
// QueryFrame - Database Query
import java.awt.*;
import java.awt.datatransfer.*;
import java.awt.event.*;
import java.sql.*;
import java.util.*;
import netscape.security.PrivilegeManager;
public class QueryFrame extends Frame
but at compile time I am getting this error:

D:\code1\query>javac QueryApplet.java
.\QueryFrame.java:8: Class netscape.security.PrivilegeManager not found in impor
t.
import netscape.security.PrivilegeManager;
^
1 error
what does this mean? and How could I rectify it.
any help
sanjay


 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic