|
|
|
|
|
|
|
Re: Using external jar file from eclipse plugin [message #1003598 is a reply to message #825042] |
Mon, 21 January 2013 10:33  |
Eclipse User |
|
|
|
Dear All,
I am a newbie at eclipse and I faced the same problem. Till now I didn't find any working solution. My solution would be:
1) my plugin's MANIFEST.MF file looks like this:
Bundle-ClassPath: external:$LIB_LOCATION$\itextpdf-5.3.0.jar,
2) and added this line to my eclipse.ini: -DLIB_LOCATION=C:\cuccok
I still get NoClassDefFoundError exception when I am using a class from itextpdf jar.
I am using Eclipse 4.2.1.
Tricky situation is that this solution is working on linux, but not on Windows XP. I tried all the followings:
- -DLIB_LOCATION=C:\cuccok
- -DLIB_LOCATION=C:/cuccok
- -DLIB_LOCATION=c:\cuccok
- -DLIB_LOCATION=file:C:/cuccok
What's wrong with this solution?
Many thanks for your help in advance!
Lorand
[Updated on: Tue, 22 January 2013 03:27] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.10263 seconds