Quote:
Originally posted by OTazman I have Redhat 7.3 with j2re-1.4.1-beta i did everything exactly like it was told, and I still get the:
""Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program. "" error message what do I do?
Thanks in Advance,
Sean Dolan |
[SIZE=1][FONT=arial][FONT=arial][FONT=arial][FONT=arial]
export JAVA_HOME=/usr/java/j2re1.4.0_01
export PATH=$JAVA_HOME/bin:$PATH
Is /usr/java/j2re1.4.0_01 really the path to your java version?
To test type:
which java
Do you get any output?
If you get output, that should be what goes after JAVA_HOME.
In the second export command (PATH), is JAVA_HOME referenced as #JAVA_HOME or JAVA_HOME as the $, dollar sign, is needed in the second export line not the first.
In the second line, is $JAVA_HOME/bin followed directly by $PATH with no :, colon, or is it followed with a :, colon ($JAVA_HOME/bin:$PATH)?
It needs to be followed by a :, colon.
Did you make sure that when you exported JAVA_HOME, you made sure the cases matched? (As it is case sensitive --for the newbies)
I postulate that one of the above questions will answer and solve your problem.