We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,901 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Compiling Not Copying???

Hey,

I am having trouble compiling in netbeans. When I go to compile, I usually go to Run>Clean and Build Main Project (or shift F11). When it compilies, it says

Copying 1 file to /Users/me/NetBeansProjects/JavaApplication11/build
Nothing to copy.

And when I go to run the .jar file, it doesn't open and says "The Java JAR file "JavaApplication11.jar" could not be launched."

I set it as the main project and the program does have a package. Any ideas? I've never had this problem before. (I'm on a MacBook if that helps)

Thanks in advance!

2
Contributors
2
Replies
1 Day
Discussion Span
1 Year Ago
Last Updated
3
Views
caswimmer2011
Light Poster
32 posts since Oct 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

I guess your set up for project properties is not correct. Look at these 2 posts from other forum http://www.velocityreviews.com/forums/t141385-how-to-create-executable-jar-in-netbeans-ide.html and http://forums.netbeans.org/topic12864.html&highlight=. You may see your mistake?

Taywin
Posting Maven
2,633 posts since Apr 2010
Reputation Points: 275
Solved Threads: 375
Skill Endorsements: 17

Good suggestions, but they did not help. I have to wipe my computer soon so maybe it will work when i re-intall netbeans.

caswimmer2011
Light Poster
32 posts since Oct 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0790 seconds using 2.65MB