Hello I wrote a porgram at the beginning of a class I have package mypackage: Bit it gives me an error incorrect path. Why is that?
Joined: Jan 09, 2001
Hi Mike, When you place a package statement inside a *.java file the file must be placed into a subdirectory of that same name when you want to run it. Then when you run it you should type: java mypackage.className Regards, Manfred.