Using a jar within an executable jar. [message #62228] |
Mon, 09 May 2005 16:52  |
Eclipse User |
|
|
|
Originally posted by: ladak.cc.gatech.edu
I found a few threads addressing a similiar issue but most seem to be
unanswered.
I have been using eclipse's File/Export.../JarFile option to create
executable jars for a while.
I am now working on a project that uses a jar library. I have add the jar
to Project/Properties/Build Path and I can debug and run within eclipse
fine.
When I try to create the executable and run it, I get the following error:
C:\SifTemp>java -jar LensLabeler.jar
java.lang.NoClassDefFoundError: info/clearthought/layout/TableLayout
. .
info/clearthought/layout/TableLayout.class is all in a TableLayout.jar
file. Where do I need to put the this jar file? Anything else I need to
change? I've tried adding a Classpath line in the manifest file with no
change. I've also tried placing the .jar file in <jdkDir>\jre\lib\ext as
suggested in another thread, again no change.
I'm also working on another project in which I'm using another .jar and am
running into the same problem.
Suggestions would be greatly appreciated. Thanks!
BTW: WinXP, eclipse 3.0.2, jdk 1.4.2
|
|
|
|
Powered by
FUDForum. Page generated in 0.08313 seconds