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.