Re: Newbie Eclipse question: Exported jar file does nothing upon execution
- From: Mark Space <markspace@xxxxxxxxxxxxxx>
- Date: Sat, 31 May 2008 11:27:36 -0700
Andrew Thompson wrote:
Add a manifest that specifies the main-class.
Huh. Doesn't java -jar throw an error if the main class isn't set correctly?
Maybe he's double clicking from Windows and not seeing the error...
OP: make sure you are not swallowing any exceptions. Let them propagate, or be certain to create clear error message. Run the program manually from the command line, make certain that windows isn't hiding an error line.
.
- Follow-Ups:
- Re: Newbie Eclipse question: Exported jar file does nothing upon execution
- From: Andrew Thompson
- Re: Newbie Eclipse question: Exported jar file does nothing upon execution
- References:
- Newbie Eclipse question: Exported jar file does nothing upon execution
- From: mrstephengross
- Re: Newbie Eclipse question: Exported jar file does nothing upon execution
- From: Andrew Thompson
- Newbie Eclipse question: Exported jar file does nothing upon execution
- Prev by Date: Re: Designing a Card Game
- Next by Date: Re: Newbie Eclipse question: Exported jar file does nothing upon execution
- Previous by thread: Re: Newbie Eclipse question: Exported jar file does nothing upon execution
- Next by thread: Re: Newbie Eclipse question: Exported jar file does nothing upon execution
- Index(es):
Relevant Pages
|