I purchased a book "Learning Android" by O'Reilly that is apparently outdated, but I was led to the eclipse site. I have downloaded eclipse and uncompressed it as instructed. When trying to run eclipse for the first time, this is the message I get.
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:
javaw.exe in your current PATH
Can anyone help? I'm sure this is something quite simple that I'm missing.
I'm going to sound like a jerk, but have you read the error message?
It's possible, beyond that, that you've got a 32-bit Java installed [on a 64-bit Windows machine, 32-bit programs install under Program Files (x86)]. A 64-bit Eclipse requires a 64-bit Java. Of course, there could be some other problem, but there's not a lot of detail to go on.