File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ConfigurationInfo - Please Help!!!!

 
Michael Bunch
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know how to get access to the class sun.plugin.panel.ConfigurationInfo from within Java code? My code will not compile when I try to instantiate this class. Any ideas?
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whenever you use a class that is not in the API, you need to add that class or a jar containing it to the classpath. You can peek into a jar using Winzip or jar -t <jarfile>. You will probably find this class in a jar among the plugin files.
 
Michael Bunch
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I put the jaws.jar file in a directory that all of my extensions are in which is in the CLASSPATH, and I am still getting an error. Specifically:
package sun.plugin.panel does not exist

Has anyone ever tried this or know of any workarounds or issues that I should be aware of? Thanks for your help.
 
Murali Kurukunda
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure why it would not work. Are you sure that the .class you mentioned is in jaws.jar? what version of JDK/JRE are you using? In JDK/JRE 1.4.x the ConfigurationInfo.class is in plugin.jar
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic