This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

include Netscape package in CLASSPATH  RSS feed

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I'm trying to pass parameters from java to javascript,i need to include Netscape package in my CLASSPATH to get JSObject.class.
I uncompressed java40 that comes with Netscape installation and i got JSObject class and i put it in the same directory as my other files(Java & html files).
When i compile the java class i'm getting JSObject class not found.
How can i include that package in my class to get JSObject class.
Thanks alot for your time.
 
paul wheaton
Trailboss
Posts: 22255
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I include java40.jar in my classpath and everything compiles up just fine.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would you please tell me what you did,please if you can
tell me how to include it in your path by steps,because when i do that i'm missing something.
Thanks alot for your time.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!