Executable Jar not behaving same as in debug (eclipse ide)

P

PhilBray

Hello,

I have built an applicaiton anthe Eclipse 3.2 IDE and having run
through it in debug mode the code all runs fine.

I am however having serious problems with the code once I have placed
it in an executable JAR file. When I run the applicaiton it seems as
though one of my classes is no longer called correctly and the app just
seems to sit in memory until I end it via Task Manager. I know that all
my code up until the creation of my class is working as I am using a
very crued method of placing system beep commands in my code which have
all passed the test up until the point I try and create my problem
class and also a log file which stops logging once I have created my
problem class.

Does anyone have any ideas on what is actually happening and ideally
how to resolve the issue?

Thanks in advance,

Phil
 
P

PhilBray

PofN said:
You fucked up multithreading.

Any ideas on how I can resolve this? I also ran the JAR from the
command line and got this error:

Exception in thread "main" java.lang.NoClassDefFoundError:

But like I said before, it works fine in Eclipse!!!

Thanks,

Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top