Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
PhilBray - 19 Sep 2006 21:28 GMT
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
PofN - 19 Sep 2006 21:45 GMT
> Does anyone have any ideas on what is actually happening and ideally
> how to resolve the issue?

You f.cked up multithreading.
PhilBray - 19 Sep 2006 21:50 GMT
> > Does anyone have any ideas on what is actually happening and ideally
> > how to resolve the issue?
>
> You f.cked 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
Oliver Wong - 19 Sep 2006 22:09 GMT
> 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:

http://mindprod.com/jgloss/runerrormessages.html#NOCLASSDEFFOUNDERROR

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.