Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
David Ogden wrote:
Rob - If I type java in a command prompt window it says "'java' is not recognized as an internal or external command, operable program or batch file"
Henry Wong wrote:
David Ogden wrote:
Rob - If I type java in a command prompt window it says "'java' is not recognized as an internal or external command, operable program or batch file"
Did you set the PATH variable so that windows can find it? Installing Java doesn't automagically make everything work -- in the case of the windows prompt, you need to add the java bin dir into the PATH variable.
Henry
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Rob Prime wrote:
Actually, if you install the JRE it will put a java.exe file inside C:\Windows\system32. This folder should always be on the path so it should work automatically.
David Ogden wrote:
Did you set the PATH variable so that windows can find it? Installing Java doesn't automagically make everything work -- in the case of the windows prompt, you need to add the java bin dir into the PATH variable.
How do I go about doing that?
Henry Wong wrote:
Really? Is this a new thing? Because I have never had java.exe installed in that dir
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Ernest Friedman-Hill wrote:Well, first, the obvious answer: is your computer on a LAN, with shared disks? If so, have you talked to the manager of that LAN? If not, your computer seems to think it is, and that's obviously an issue!
The feature you are trying to use is on a network resource that is unavailable
David Ogden wrote:If I try to uninstall the file through Add/Remove Programs (it's labeled as Java(TM) 6 Update 22) I get a prompt saying "The feature you are trying to use is on a network resource that is unavailable... Click OK to try again, or enter an alternate path to a folder containing the installation package 'jre1.6.0_11-c-l.msi' in the box below".
Joanne
David Ogden wrote:Ernest - I'm on my own home DSL so I don't think that's the problem.
You're not going crazy. You're going sane in a crazy word. Find comfort in this tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
|