Can't install JAS on linux

I have a VPS account that gives me root access. Logged in as root I did the following:

downloaded jdk-6-linux-i586.bin

ran it in my /opt directory (it created /opt/jdk1.6.0)

downloaded Java's Application Server: sjsas_pe-9_0_01-p01-linux.bin

I ran it and got:

Error: Could not find the required version of the Java(TM) 2 Runtime Environment.

This application needs version 1.5 or higher of the Java(TM) 2 Runtime

I tried:

sjsas_pe-9_0_01-p01-linux.bin -javahome /opt/jdk1.6.0

and got:

Error: Could not find the required version of the Java(TM) 2 Runtime Environment in '/opt/jdk1.6.0/'.

This application needs version 1.5 or higher of the Java(TM) 2 Runtime

Environment.

What am I doing wrong?

Message was edited by:

sumGuy

I also tried:

chmod -R 777 /opt/jdk1.6.0

to make sure it wasn't a permission issue.

[927 byte] By [sumGuya] at [2007-11-26 17:58:30]
# 1

Is this by any chance 64 bit version of JDK? If so, it won't be properly recognized by SJS AS install wrapper JDK version detection code due to a known bug.

One thing you could try is to unzip the sjsas_pe-9_0_01-p01-linux.bin distribution file and invoke install wizard manually as described at the end of this article:

http://wiki.java.net/bin/view/Projects/LinDist

(just use your external JDK location to get java executable instead of the relative one mentioned in that article - assumption was that it is the distribution with bundled JDK).

Snjezanaa at 2007-7-9 5:11:49 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...