Joe Raszewski wrote:Does the jre6 need to be in the same folder as the remainder of the jdk1.6.0 files?
luck, db
There are no new questions, but there may be new answers.
-VS
Always consult the oracle before asking a question.
-VS
Always consult the oracle before asking a question.
It is a serious mistake trying to work inside the bin folder. Progam Files is not for you to put your own work in. It is also a mistake to set your own classpath, even though some books tell you to. You can delete that classpath entirely and suffer no problems. Your %JAVA_HOME% variable should not end in bin. You can either set a JAVA_HOME which ends in jdk1.7.0_03 or similar, or put the whole path in the path variable entry. If you have bin in both, the computer will try to find a bin/bin folder which you haven’t got.Joe Raszewski wrote:. . . i was able to navigate to the bin folder and compile & run the HelloWorld program while in that directory. . . . I also can't copy my java files into the bin for compile so i have to rely on PATH and CLASSPATH and must not have them set properly. . . .
Joe Raszewski wrote:%JAVA_HOME% is set to: C:\Program Files\Java\jdk1.7.0_03\bin
Joe Raszewski wrote:CLASSPATH is set to: .;C:\Program Files\Java\jdk1.7.0_03\bin
Joe Raszewski wrote:PATH is set to: %JAVA_HOME%\bin;C:\Windows\etc..other stuff....
Joe Raszewski wrote:I have copied it right from the book
Joanne
Joe Raszewski wrote:P.S. the indentations are missing after the copy but they line up and are in line as per the program in the book...
Joanne
-VS
Always consult the oracle before asking a question.
rubbery bacon. crispy tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|