When Java is installed to Windows, it is installed in the default path.
C:\Program Files\Java\jre1.5.0_04\bin
According to typing in that arguement & path, it still said it's not found. Due to Program Files having a space in it, it also says "Can't find C:\Program. What is the space character in dos? Every other Java IDE I use has no problem finding it by its default location, so I'm confused.
I dos I believe you must put quotes around the path, like this: "c:\my documents\", and remember, it's not C:\Program Files\Java\jre1.5.0_04\bin, it's C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe. So your new path becomes:
A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: c:\Program Files\Java\jre1.5.0_04\bin
I checked the folders too and the file is in this path. :(
I added javaw.exe at the end of the string, and Eclipse loaded. When I close it, and double click on Eclipse's icon, it won't find the JVM. Is there a way I can change it so it always looks in this path?
I added javaw.exe at the end of the string, and Eclipse loaded. When I close it, and double click on Eclipse's icon, it won't find the JVM. Is there a way I can change it so it always looks in this path?
Why not create a shortcut to launch Eclipse for you, and in the target field, add the text Kevinator gave you, adding javaw.exe onto the end?