Problem with setting the classpath [message #547441] |
Fri, 16 July 2010 16:03  |
Eclipse User |
|
|
|
Hi all,
I am developing a plug-in for eclipse in which I have to reference to a shared library in form of a .jar file - that is external to the project. In other words, the .jar file that I want to use is in my system file and not in the Eclipse workspace.
I tried to add the .jar file in the plugin.xml runtime classpath tab, that was also reflected in MANIFEST.MF file as the following:
Bundle-ClassPath: .,
/home/MY_USER/THE_PATH_TO_THE_FILE/myfile.jar
but still when I run the plug-in it cannot find the classes inside the jar file and gives me:
Exception in thread "Thread-4" java.lang.NoClassDefFoundError
Can anybody please help me with this?
Thanks,
Bahar
P.S. I am using Linux SuSe!
|
|
|
|
Powered by
FUDForum. Page generated in 0.03375 seconds