Please help, Excuse the newbee question I have compiled code and can see .class files in the directory I am working in, but when I type the command line java classname it I get the message "Can't find class classname" Thanks in advance Kelly Rakes
The directory is pretty long "D:\jdev9i_rc2\jdev\mywork\Kellys\Registrar\src\Registrar" When I navigate to that directory in the command shell and type javac classname.java it compiles and places a file classname.class in the directory. I have placed the directroy listed above in the class path as directed for W2K setup, I have also changed the runtime classpath by typing java -classpath D:\jdev9i_rc2\jdev\mywork\Kellys\Registrar\src\Registrar. Any help would be apriciated Thanks in advance
1.) Try to put a .(dot) in your CLASSPATH. 2.) If the java source has a package in the top, you need to compile like this: javac com/sun/java/Test.java and run the code like this: java com.sun.java.Test /Rene
Regards, Rene Larsen
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.