0

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
3
Views
5 Years
Discussion Span
Last Post by caswimmer2011
0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.