How to fix application from blocking access to basic Java libraries!
807569Jun 30 2006 — edited Jul 2 2006Hi all!
I have recently encountered a problem with an application which uses Java packages like Swing and AWT, which when executed says that inheritance relationship could not be determined because java/awt/event/WindowEvent can not be found. Of course this last part is different depending on if Swing or Awt is needed in the class or any other essential Java Package class.
The tech support for the product, said that the problem was that the Swing and Awt packages should be on the Classpath.
I use Java 5, jdk1.5.0_06, and have tried setting Swing and AWT to Classpath in the command line, by set CLASSPATH=%CLASSPATH%;C:\Java 5\jdk1.5.0_06\
And finishing this statement with bin or lib.
I found out by a kind user here on this forum, that the problem could be that the program blocks access to basic Java librarys, by using ClassLoaders with weird delegation.
I would greatly appreciate if someone knew how to fix the Classloaders from using weird delegations, or if you have any other suggestion on what the problem could be.
If there is anything relating to the problem you would like to know, don't hesitate to ask me about it, since I would really want this application to work.
Thank you all,
Kent