Hi,
I have written some
java program in which i am using some external jars. The code is running fine. I exported the jar as Runnable jar using the eclipse export option. I named the jar as abc.jar then i try to run it using "java -jar abc.jar". It started to execute but threw a exception java.lang.NoClassDefFoundError in between where i used the classes in the external jar, eventhough the refered jar files are there in classpath. Looks like classpath is getting reset to the current directory. I hope i am clear. Can anyone please help me resolve this issue.
Thanks in Advance