Link to home
Start Free TrialLog in
Avatar of Axter
AxterFlag for United States of America

asked on

Searching for Java(tm) Virtual Machine...

I'm trying to install the latest version of Sybase on a Linux Fedora 2 box, but I keep getting the following error:

********************************************************
[axter@LinuxMySql sybase]$ ./setup
InstallShield Wizard
 
Initializing InstallShield Wizard...
 
Searching for Java(tm) Virtual Machine...
......................A suitable JVM could not be found. Please run the
program again using the option -is:javahome <JAVA HOME DIR>
********************************************************

I've already installed j2re1.4.2_07, but I still get the above error.

I can I get it to install?
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Hi,

   You might check the README or installation instruction for Sybase. It is most likely you need to set the environment variable
JAVA_HOME before you install Sybase. Or use
./setup -is:javahome <path to your java installation>

Say, run the following commands to determine where is the java and JAVA version you install.
which java  (should look like /usr/java/jre1.4.2_07/bin/java )
java -fullversion

Regards,

Wesly
Avatar of Axter

ASKER

I'm getting no Java return for which java.

I think what I need is some really good instructions on how to install Java on Linux
ASKER CERTIFIED SOLUTION
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Axter

ASKER

Thanks for the help.

After looking at your post, I realize my script was using incorrect case for JAVA_HOME.