I'm having trouble with java on the command line.

I can compile a .java file but when I want to run the class I always end up 
with:

> Error: Could not find or load main class {class name}.class

even though the code runs perfectly well in NetBeans.

I've checked the web and it looks like the class path needs to be defined to 
include "." *but* that was never necessary in previous iterations of the OS.

What's wrong with the system ?


Jean-Christophe Helary
----------------------------------------
fun: http://mac4translators.blogspot.com
work: http://www.doublet.jp (ja/en > fr)
tweets: http://twitter.com/brandelune

_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to