• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can't import Netscape.javascript Package

 
Maurice Devoe
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to use JSObject and in order to do that I need to import netscape.javascript. I get an error message everytime. Where do I find this class and how do I install it, since it obciously isn't a part of the SDK?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to add the jar file in the Netscape directory to your classpath... I think it's called java40.jar, but it's been a while since I've used it, so you may want to verify this before trying it... Just search the Netscape directory for jar files and look in them with WinZip... when you find JSObject.class in one, you know you have the right one...

-Nate
 
Maurice Devoe
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic