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 / Tools / October 2005

Tip: Looking for answers? Try searching our database.

Creating executable jar file with no gui

Thread view: 
brightoceanlight@hotmail.com - 06 Oct 2005 13:49 GMT
I have an eclipse project that is a server.  It has no GUI.

When I create an executable jar file from it and run it.  Nothing seems
to happen.  Is it running?  Can I create executable jar files for
programs that have no GUI.
Roedy Green - 07 Oct 2005 05:49 GMT
>I have an eclipse project that is a server.  It has no GUI.
>
>When I create an executable jar file from it and run it.  Nothing seems
>to happen.  Is it running?  Can I create executable jar files for
>programs that have no GUI.

You can download somebody else's code that DOES work. Then when you
see it working, it should be more obvious the problem stopping yours.

Did you ask for a "allocate console" on your Eclipse run setup?

If you want to tell if it is running, debug it with the Eclipse
debugger. Then you can see it churning through your code or exiting
right away.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.

Thomas Schodt - 07 Oct 2005 10:52 GMT
> I have an eclipse project that is a server.  It has no GUI.
>
> When I create an executable jar file from it and run it.  Nothing seems
> to happen.  Is it running?  Can I create executable jar files for
> programs that have no GUI.

If it is a TCP/IP server, you can check with netstat.

You can always try the obvious and connect with a client.

You could add logging and tail the logfile.


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



©2008 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.