[dundee] java help

Keir Lawson keirlawson at btopenworld.com
Tue Oct 14 20:05:47 BST 2003


not using debian.  i seem to have installed j2sdk ok (typing in
java,javac etc works) and have got several java progs working (i
downloaded the j2sdk/netbeans3.5 installer combo) so netbeans works as
does jedit.  i tested the setup by compiling this prog:

class etill {
	public static void main(String arguments[]){
		System.out.println("hello world from etill");
	}
}

and it compiled without any warnings. however when i try to run it (java
etill.class) i get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: etill/class

i dont have a clue whats wronf (could possibly be my rusty java code..
last time i did any java was with version 1.3)

keir




More information about the Dundee mailing list