my path looks like:
if I look at the actual folder name programfiles is actually Program Files (with a space) but my path won't take the space. is this what is causing the problem? Does anyone know how to put a space in the Path?
Never had problem giving space in the path. Which OS are you using.
Also JRE is a RunTime Environment, it does not have javac, which is a development/compilation tool. Point your path to the bin directory of the SDK installation, in order to use 'javac'. You can use 'java' and run the compiled Java program using JRE.
Hope this helps,
have you insalled the SDK in program files or somewhere else?
You can give the path of program files by following Dos's naming convention which makes it Progra~1.i am sure you are familiar with this.
search for javac in you computer and then put the directory it returns in your path variable.
Originally posted by Layne Lund:
Alternatively, you can put quotes around a file name containing spaces. I think the following will also fix the problem:
But even then, the problem runs a little deeper since the PATH only contains the JRE installation. You probably found out that the JDK is installed else where.
Anyway, feel free to come back with more questions. I hope you enjoy learning Java.