This is some information on the Java 6 certification that I prepare. This information is not very well structured and it is most of the time an answer to the questions that come when I read the SCJP 6 book (Bates and Sierra). *** AS OF 5 OF MARCH 2010, I AM SCJP 6.0 ***

Tuesday, January 12, 2010

10 - Netbeans does not seem to do anything !


You made a new project in Netbeans and then you decide to create a method main(String[] args) in one or several classes (that you have written). But when you run your project, you see nothing happening...
It is because Netbeans will create a Main class with a main method by default. You have to go in the project properties, and then in Run, you have to specify the new main method.

No comments:

Post a Comment