[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Java Install on Red Hat Linux

Posted on 2004-09-09
9
Medium Priority
?
512 Views
Last Modified: 2013-12-06
Hello,

 I am on the process of doing a fresh install of Oracle 9i DB on Red Hat Enterprise 3 (ES).
I downloaded java JDK 1.3.1 09 to a  OraHome directory.

When I type which java.......>I get no java installed.

I included the /usr/sbin folder where I ran the binary Java file and I get that the Java RPM file is installed.
I included an entry for the /usr/sbin folder in my .bash_profile file.

How can I resolve this ?

PT
0
Comment
Question by:ptreves
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 11

Accepted Solution

by:
Jase-Coder earned 2000 total points
ID: 12019283
do

find / | grep "java" > Found

to see where it is installed because it may be somwhere else.
My java path is

/usr/lib/java
0
 

Author Comment

by:ptreves
ID: 12019304
Hello,

The find command can be long to run...........
By default, where should it install itself ?

PT
0
 

Author Comment

by:ptreves
ID: 12019334
Hello again,

I ran the find form the root and oracle user, it never told me Found.........
However the RPM file says already installed ???

What now ?

PT
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 40

Expert Comment

by:jlevie
ID: 12019437
If rpm says it's installed you should be able to use 'rpm -q --list java' to find out were all the files are.
0
 

Author Comment

by:ptreves
ID: 12019575
Hello,

rpm -q --list java
package java is not installed from the /usr/sbin directory ..

PT

What now ?
0
 

Author Comment

by:ptreves
ID: 12019677
Hello,

THe PB, when I check to install the RPM using -U, it indicates that it is already installed,.

What can I do ?

PT
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12019723
What is the exact command you use that returns that the package is already installed?
0
 

Author Comment

by:ptreves
ID: 12019921
Hello,

Under the root user, in the /usr/sbin directory:

rpm -Uvh jdk-1.3.1_09.i586.rpm

package jdk-1.3.1_09-fcs is already installed.

but I cannot check that is there....which java.........no jva

What now ?

PT
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12020197
Okay, the package name isn't java, which is why the list command failed. Try 'rpm -q --list jdk'. I think you'll find that the files are in someplace like /usr/jdk, /usr/java, /opt/java, etc. None of those would be  a part of your PATH and you'd need to add the java bin directory to your PATH.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month12 days, 15 hours left to enroll

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question