1844852 Members
2400 Online
110233 Solutions
New Discussion

Java on Linux

 
SOLVED
Go to solution
Javier Herlein
New Member

Java on Linux

I am trying to install J2SE (donwloaded from Sun) on a RX5670 server with Red Hat Linux 7.2.
I first tried with J2SDK 1.4.2 but the installation process doesn't seems to progress, it just keeps displaying a white window and makes no progress.
Then I tried with JDK 1.2.2, which seems to install succesfully (it's just a tar file). Then where I run the java command I get the following error message: "Error: can't find libjava.so."

I'm not sure if these versions are compatible with the Linux version I'm running (Red Hat Linux Advanced Server 2.1 for the Itanium Processor).

Any idea?
5 REPLIES 5
Jerome Henry
Honored Contributor
Solution

Re: Java on Linux

The right version for you is 1.3.1, but what are you trying to use Java for ? Programming or runnig a program that requires it ?

J
You can lean only on what resists you...
Javier Herlein
New Member

Re: Java on Linux

I need to install Java because the application requires it (Oracle 9i App Server).
Martin P.J. Zinser
Honored Contributor

Re: Java on Linux

AFAIK Oracle has very specific requirements concerning the Java version they want to have on the system.

Check

http://otn.oracle.com/oramag/webcolumns/2003/techarticles/clevenger_jumpstart1.html

for a detailed discussion of the installation.

Javier Herlein
New Member

Re: Java on Linux

The problem is that the Java versions I installed seem to be incompatible with the machine.
After the installation (which seems to finish correctly), when I type java -version I get the following error message:

./../jre/bin/realpath: /J2SE/jdk1.3.1_09/bin/../jre/bin/ia64/realpath: No such file or directory
./../jre/bin/realpath: exec: /J2SE/jdk1.3.1_09/bin/../jre/bin/ia64/realpath: cannot execute: No such file or directory
./java: /bin/realpath: No such file or directory
./java: /bin/realpath: No such file or directory
grep: /lib/jvm.cfg: No such file or directory
grep: /lib/jvm.cfg: No such file or directory
java was not found in /bin/i386/native_threads/java

The problem is that the JVM I installed does not include the ia64 subdirectory.
Mark Grant
Honored Contributor

Re: Java on Linux

Looks exactly like you say. You need to download the i386 version, not the ia64 unless you have a 64 bit machine.
Never preceed any demonstration with anything more predictive than "watch this"