Hallo!
Ich hab schon gesehen das ich mit dem Problem nicht der einzige bin. Also.
Ich verwende NETBEANS 7.0. (Platform Win7 64bit). Das ist der erste Versuch. Ich hab im IDE eine JAVA Application erstellt.
Das ging so:
New Projekt -> Categories = Java ; Projects = Java Application - Next >
Project Name: Hello World und sonst default. -Finish
Das wars. Im HelloWorld.java file habe ich noch eine Zeile ergänzt
Wenn ich jetzt auf Run -> Run Main Project gehe bekomme ich folgende Fehlermeldung:
Eine DialogBox mit
Name: Run Project
Mit einem Info Icon mit Text: helloworld.HelloWorld class wasn't found in HelloWorld project.
eine Listbox mit Namen: Select the main class und dem Inhalt <No main classes found>
Enn ich Run -> Clean and Build Main Project ausführe bekome ich einen erfolgreich BUILD.
Hat wer eine Lösung, was da sein soll. Unter ECLIPSE funktioniert das problemlos. Eh klar.
lg Harald.
Ich hab schon gesehen das ich mit dem Problem nicht der einzige bin. Also.
Ich verwende NETBEANS 7.0. (Platform Win7 64bit). Das ist der erste Versuch. Ich hab im IDE eine JAVA Application erstellt.
Das ging so:
New Projekt -> Categories = Java ; Projects = Java Application - Next >
Project Name: Hello World und sonst default. -Finish
Das wars. Im HelloWorld.java file habe ich noch eine Zeile ergänzt
Java:
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package helloworld;
/**
*
* @author sattmann
*/
public class HelloWorld {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
System.out.println("Hello World\n"); // das ist von mir
}
}
Wenn ich jetzt auf Run -> Run Main Project gehe bekomme ich folgende Fehlermeldung:
Eine DialogBox mit
Name: Run Project
Mit einem Info Icon mit Text: helloworld.HelloWorld class wasn't found in HelloWorld project.
eine Listbox mit Namen: Select the main class und dem Inhalt <No main classes found>
Enn ich Run -> Clean and Build Main Project ausführe bekome ich einen erfolgreich BUILD.
Hat wer eine Lösung, was da sein soll. Unter ECLIPSE funktioniert das problemlos. Eh klar.
lg Harald.