1,105,320 Community Members

Problem running JAR on Mac Lion

Member Avatar
Tango2010
Light Poster
29 posts since Feb 2010
Reputation Points: -2 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi All,

I wonder if anyone can help -

I have been teaching myself Java GUI programming using a Mac running OSX Lion and Netbeans 7, and have followed the tutorial: http://netbeans.org/kb/docs/java/gui-functionality.html#Exercise_2

When I run the program, it builds and compiles fine, but only appears when I choose the command 'Run File', and not when I tell it to build and run. I have since exported the file out as a JAR and have found that the Mac will recognise and run the file through terminal but the program will not popup as it should. I used to have access to other macs where I have done this before and it worked fine.

Does anyone have any ideas what i'm doing wrong?

Thank you in advance for your time and help,

Cheers,
Tango

Member Avatar
Tango2010
Light Poster
29 posts since Feb 2010
Reputation Points: -2 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

The problem seems to have righted itself. After running other tutorials it seems to be working fine now. This thread can be closed.

Question Self-Answered as of 2 Years Ago
You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: