help!help!
all the set path or classpath is ok but the error is only one , IS .....
C:\Documents and Settings\wl>cd c:\
C:\>cd jdk1.3.1_09
C:\jdk1.3.1_09>cd bin
C:\jdk1.3.1_09\bin>javac
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-O Optimize; may hinder debugging or enlarge class file
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are us
ed
-classpath <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-target <release> Generate class files for specific VM version
C:\jdk1.3.1_09\bin>javac Hello.java
error: cannot read: Hello.java
1 error
C:\jdk1.3.1_09\bin>java Hello.java
Exception in thread "main" java.lang.NoClassDefFoundError: Hello/java
C:\jdk1.3.1_09\bin>java Hello
Exception in thread "main" java.lang.NoClassDefFoundError: Hello
C:\jdk1.3.1_09\bin>