Originally posted by Jack Ireland:
...3) I added "c:\Program Files\Java\j2re1.4.1_02\bin"...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by Jack Ireland:
...There is obviously something wrong with step #2, but I have no idea what.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
You can check your path with the commandat the command line. (There is also a stray space in the PATH as you have posted it here - I don't know if this makes a difference.)Originally posted by Jack Ireland:
There is obviously something wrong with step #2, but I have no idea what.
Originally posted by Jack Ireland:
...If I get to the directory by doing the CD C:\Program Files\Java\jdk1.5.0_06\bin I can compile a Hello World program and run it with no problem. However, if I don't do the Change Directory thing it tells me "error: cannot read: hello.java" If I try to run it, it tells me "Exception in thread..."
Why would it be able to "see" the javac, but not the hello.java, which is in the same bin directory as the javac?
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by nige llan:
...I have created a path to both the jdk and jre bin folders separated by a semicolon...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by nige llan:
...However I am still not able to run files? I am only able to compile them?
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |