Cannot find java, gcc, Oracle on RedHat 7.2

 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Cannot find java, gcc, Oracle on RedHat 7.2
# 1  
Old 05-22-2017
Cannot find java, gcc, Oracle on RedHat 7.2

We received Linux RedHat. I tried
Code:
java -version

no result
Code:
gcc -c

no result
I cannot even find Oracle version or directory
Do you know if JAVA, gcc, Oracle are supposed to come with Linux by default?

Thanks,

Last edited by DukeNuke2; 05-22-2017 at 08:00 PM..
# 2  
Old 05-22-2017
I'd be surprised if gcc were not installed by default. Check the installation log and try e.g. whereis. All the others you may need to install manually after system setup.
# 3  
Old 05-22-2017
Check your path settings for the user you are working with. Also Oracle (DB?) software should not be preinstalled with any linux distribution (afaik), unless you are using a VM image provided from the Oracle website.
# 4  
Old 05-22-2017
gcc is not installed in a RedHat 7.x by default. It is a development tool and it doesn't belong in production servers. If you need it for development then you can install it by issuing, as root, the command:
Code:
yum groupinstall "Development Tools"

The available java package for RedHat 7.x is OpenJDK and is not installed by default, however you can install it with:
Code:
yum install java

The Oracle JDK or JRE are not part of the available packages for Redhat 7.x. on the default repositories. However, you can download it from Oracle and install it, once you accept the license.
This User Gave Thanks to Aia For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Red Hat

How to switch back from Oracle Kernel to RedHat?

Hello friends, We have RHEL 7.5 server with latest updates. We needed to install Oracle 12 DB on it so chose "easy method" of installing "oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64.rpm" and then installed oracle DB. Everything went smooth and all OK but later we noticed that it has... (4 Replies)
Discussion started by: prvnrk
4 Replies

2. Fedora

Fedora: Uninstall Java JDK 1.8 and install Oracle Java 1.7.15

Hi All, I have just downloaded fedora 27 iso and set it up in virtual box. I want to learn Hadoop so trying to install Apache hadoop. Before all those I have to install Oracle Java 1.7.15 (as mentioned in the Apache hadoop page). Can you please help me how to Uninstall currently installed... (6 Replies)
Discussion started by: TechGyaann
6 Replies

3. Programming

Unable to run java in redhat os

I am unable to run java from jdk. it says "cannot execute binary file" I downloaded the jdk again freshly but the problem still persists. All files have execution permission. Both OS and JDK are 64bit. Please help me out. $ pwd /home/XXXXX/apache-tomcat-6.0.18/jdk1.5.0_14/bin $... (2 Replies)
Discussion started by: meetsriharsha
2 Replies

4. UNIX for Advanced & Expert Users

Oracle RAC Cluster on RedHat Linux, Node eviction

We have 2 node Oracle RAC Cluster. It is running RHEL 5 (2.6.18-92.1.10.el5PAE) Hardware is HP DL360 We have node eviction issue, Oracle evicts node. It is not very consistent. Oracle has looked all log files and said this is not Oracle issue but rather system or os issue. Server does not... (7 Replies)
Discussion started by: sanjay92
7 Replies

5. AIX

Aix, Oracle and Java

Hello Im trying to install oracle on my AIX 5.3 server. Im doing all things right as Oracle says... When im trying to run the instalation it gives me an error about JRE. But i already have JRE installed as you can see... Someone can help me or guide me? Im new in with this.. ... (1 Reply)
Discussion started by: gfca
1 Replies

6. Red Hat

Help installing Oracle 9i/10g on RedHat?

If anybody can help would be greatly appreciated... I get the same error with Oracle 9i & 10g when installing on Red Hat Fedora 4, it's java related... Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2007-03-16_01-09PM/jre/lib/i386/libawt.so: connat restore segment... (0 Replies)
Discussion started by: Joncamp
0 Replies

7. UNIX for Dummies Questions & Answers

oracle installation on redhat 7.0/7.1

can anybody tell me that whether oracle 8i is installable on redhat 7.0/7.1. for me it is only working successfully on redhat 6.1 but not later versions cheers (3 Replies)
Discussion started by: balu
3 Replies
Login or Register to Ask a Question