+ 1
when I try to compile ExampleProgram.java, Cmd just gives me my dir again...can someone explain & help me get pass this? thanks
2 Respostas
+ 1
have you set the PATH variable to the directory where your JDK is in?
for compiling java programs, type this at the cmd window after rhe PATH has been set, and you are in the directory where "ExampleProgram.java" is in-
javac ExampleProgram.java
+ 1
yes I have, I've just recently been givin the advice to change the jre path, so I'm going to try that