Skip to main content



      Home
Home » Newcomers » Newcomers » Using a jar within an executable jar.
Using a jar within an executable jar. [message #62228] Mon, 09 May 2005 16:52 Go to next message
Eclipse UserFriend
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
Re: Using a jar within an executable jar. [message #63897 is a reply to message #62228] Fri, 13 May 2005 10:03 Go to previous message
Eclipse UserFriend
Originally posted by: tristano.people.it

Sif scriveva il 09/05/2005 :
> I have been using eclipse's File/Export.../JarFile option to create
> executable jars for a while.
>
Try the Fat Jar Eclipse plugin (http://fjep.sourceforge.net/)

Bye.

--
Scritto con MesNews: http://www.mesnews.net
Previous Topic:Is there a Repository for models & metadata?
Next Topic:how to use API docs
Goto Forum:
  


Current Time: Sun Jun 01 13:49:27 EDT 2025

Powered by FUDForum. Page generated in 0.08313 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top