rnal/util/JDKBridge not com/sun/corba/se/internal/util/JDKBridge.
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/inte
How can I get through this problem?
I added rt.jar in the CLASSPATH and was successfully removed the JDKBridge error however, I got another error saying...
Exception in thread "main" java.lang.NoSuchMethodError: loadClass0 at com.sun.corba.se.internal.util.JDKClassLoader.specialLoadClass(Native Method)
What's this JDKClassLoader and how do I fix this?
I have already ran this program. Thanks to all!
I just repeated everything. Uninstalled everything from my pc. Started all over again, from installation, setting the JAVA_HOME, J2EE_HOME, CLASSPATH, and PATH, and following the steps in the HFEJB Book. No rt.jar in CLASSPATH. Just the j2ee.jar and it worked fine.
Maybe you should do the same. Best of luck!
Originally posted by Veena Point:
Got it! Worked after setting rt.jar into classpath where JDKBridge was there.I thought JDKBridge it is reffering to in the exception existed in J2EE.jar file which i had already set in classpath.
I think this will be helpfull for any newbies who is trying to run AdviceClient.
It worked for me too ... thanks Veena for your advice!
Originally posted by shweta bulbule:
Hi even i m getting the same error
Exception in thread "main" java.lang.NoSuchMethodError: loadClass0
but no explanation is given by anyone on this
can anyone suggest what may be the solution?
Does anybody have solution to the quoted problem? I recently ended up formatting my system and I now have only J2EE 1.3 and J2SE 1.3 and the corresponding environment variables .... and I came across the above error ... adding rt.jar doesn't solve the above problem!
java -classpath C:\j2sdkee1.3.1\lib\j2ee.jar;AdviceAppClient.jar;. AdviceClient
C:\j2sdk1.4.2_10\bin\java -classpath C:\j2sdkee1.3.1\lib\j2ee.jar;AdviceAppClient.jar;. AdviceClient