Re: Newbie Eclipse question: Exported jar file does nothing upon execution
- From: RedGrittyBrick <RedGrittyBrick@xxxxxxxxxxxxx>
- Date: Fri, 30 May 2008 17:15:23 +0100
mrstephengross wrote:
Hi all. I'm trying to learn the ropes of how to create an executable
jar from Eclipse. I believe I exported one successfully--I selected
the correct source & main class, and Eclipse reported that the file
was created successfully. However, when I try to execute it, nothing
happens. That is, it acts like some kind of no-op executable.
Any ideas?
Andrew identified the most likely cause.
One way to make error messages visible is to execute the Jar from a command prompt.
In Windows XP: click "Start", "Run", type "cmd" and press enter.
Check the Java runtime is in your path
java -version
Then type a command like
java -jar MyJar.jar
--
RGB
.
- References:
- Newbie Eclipse question: Exported jar file does nothing upon execution
- From: mrstephengross
- Newbie Eclipse question: Exported jar file does nothing upon execution
- Prev by Date: Re: Override annotation
- Next by Date: Re: OO Concept: Liskov Substitution Principle
- Previous by thread: Re: Newbie Eclipse question: Exported jar file does nothing upon execution
- Next by thread: java.sql.SQLException: JZ0P1: Unexpected result type.
- Index(es):
Relevant Pages
|