|
-
Feb 21st, 2008, 01:42 AM
#1
Thread Starter
Frenzied Member
Creating a jar file using Eclipse
Hi guys good day I'm really new at this thingy so please bear w/ me.
Ok here's the scenario.
I created a project(console app) in Eclipse and it works fine so I decided to create a jar file by exporting then selecting the class that has the main function. The thing is I used an external jar file in my console app when I try to run my jar file in command prompt I got an java.lang.NoClassDefFoundError pointing to the class in my external jar file considering I also add it in my jar file. I've search and found out that setting the classpath variable to your working directory that has the external jar file but still no luck.
Any suggestions would greatly appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|