- Registriert
- 22.06.09
- Beiträge
- 22
Hey,
Habe Eclipse SDK
Version: 3.4.1
ICh habe diesen Quelltext für Java bei Eclipse eingegeben, und wenn ich auf Run; Run as; Java Application; drücke sagt der Compi mir: Editor does not contain a main type! Ich habe schon eine Class eigerichtet. Bin totaler Anfäger
.
public class HelloWorld {
public HelloWorld() {
// TODO Auto-generated constructor stub
}
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("Hello world!");
}
}
Habe Eclipse SDK
Version: 3.4.1
ICh habe diesen Quelltext für Java bei Eclipse eingegeben, und wenn ich auf Run; Run as; Java Application; drücke sagt der Compi mir: Editor does not contain a main type! Ich habe schon eine Class eigerichtet. Bin totaler Anfäger

public class HelloWorld {
public HelloWorld() {
// TODO Auto-generated constructor stub
}
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("Hello world!");
}
}