Originally posted by Elouise Kivineva:
If you want to comple the command is javac, not java.
What operating system are you using?
This link gives more info. about compiling under different operating systems and checking your java environment settings:
http://java.sun.com/docs/books/tutorial/rmi/compiling.html
I am compiling it using
D:\>javac com\Hello.java
and it compiles fine.
i have a problem running it
I am doing
D:\>java com.Hello
and it gives the following error
Exception in thread "main" java.lang.NoClassDefFoundError: com/Hello
I am using windows 2000 pro
[ August 06, 2004: Message edited by: Angela lewis ]