Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSObject - error when compile - weird!

Status
Not open for further replies.

giahan

Programmer
Sep 1, 2000
139
US
I try to compile an applet that comunicate javascript, and I use JSObject. For some reason that I get compiler error like "package netscape.javascript does not exist" and point me to the "import netscape.javascript.*;" line
I have jkd1.3.1_01 installed and I have checked my PC and see that JAWS.JAR in the drive:\jdk1.3.1_01\jre\lib
Also, I have my classpath set to drive:\jdk1.3.1_01\jre\lib

Does anyone know why? Thanks in advance.

It's so weird.




GH
 
classic. The jar has to be in the classpath... you can't just specify the directory where the jar is.

i.e.:
set classpath=%classpath%;drive:\jdk1.3.1_01\jre\lib\JAWS.JAR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top