NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
neorf
Joined: 17 May 2011 Posts: 1
|
Posted: Tue May 17, 2011 3:03 pm Post subject: Java & Swing problem under Mac OSX |
|
|
i've tried a tutorial with a Swing Gui. i execute it under mac with "java -jar app.jar" and nothing happens... none message, just nothing...
What could be?
thanks
neorf |
|
| Back to top |
|
 |
jyeary
Joined: 21 Oct 2008 Posts: 608 Location: Simpsonville, SC
|
Posted: Thu May 19, 2011 1:32 pm Post subject: Re: Java & Swing problem under Mac OSX |
|
|
This is the wrong forum for those questions. This forum is for Web/EE questions.
However, it is likely that you did not indicate in the manifest file what the executable class is called. Please try executing it like
java -cp app.jar path.to.my.executable.Class
On Tue, May 17, 2011 at 11:04 AM, neorf <address-removed ([email]address-removed[/email])> wrote:
| Quote: | i've tried a tutorial with a Swing Gui. i execute it under mac with "java -jar app.jar" and nothing happens... none message, just nothing...
What could be?
thanks
neorf
|
--
John Yeary
--
http://javaevangelist.blogspot.com
http://www.johnyeary.com
@jyeary
"Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the gray twilight that knows not victory nor defeat."
-- Theodore Roosevelt |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|