Fixed it xD. It still ignores one of my directorys though....
Type: Posts; User: Scotty
Fixed it xD. It still ignores one of my directorys though....
simple.class is in D:\JAVA
(D:\JAVA\simple.class)
Sorry!
C:\Users\Scotty>cd D:\JAVA
C:\Users\Scotty>javac simple.java
javac: file not found: simple.java
Usage: javac <options> <source files>
use -help for a list of possible options
...
I see what you mean, but I cannot get it to change directory. Can you give me an example? I am obliviously doing something wrong.
Yes it is in the same folder. I have also tried just
C:\Users\Scotty>javac D:\JAVA\simple.java
C:\Users\Scotty>java simple
Exception in thread "main" java.lang.NoClassDefFoundError: simple...
Hiya, I am very new to all programming. Can anyone tell me why the below will not run? I have set the classpath in control panel and have tried setting it first in command prompt. Its probably...