• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Please help with JSObject and JSExecption problem

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to compile a small applet that will communicate with javascript.

The code requires the JSObject.class and JSExecption.class that I understand is part of a Netscape package named java40.jar. I have not been able to locate a copy of this jar file. I then was told that if I am using JDK/JRE 1.4, the jar is located under jre/lib and it's called plugin.jar. I found this file and placed it in the directory with my applet, but the applet will not compile.

I then extracted the JSObject.class and JSExecption.class files from the jar and placed them in the same directory as my applet, but even then it will not compile. I get an error that says "cannot access JSObject.

Can anyone tell me where I am going wrong?

If not can anyone tell me of another way to pass a String from an applet to a variable in javascript without using these two files?
 
reply
    Bookmark Topic Watch Topic
  • New Topic