My Oracle Support Banner

Cannot Access libjava.so as the Group on Unix / Linux After AS 10g Release 2 Installation (Doc ID 387855.1)

Last updated on JUNE 29, 2023

Applies to:

Oracle Fusion Middleware - Version 10.1.2.0.0 to 10.1.2.0.2 [Release AS10gR2]
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

After installation of Oracle Application Server 10g Release 2 on a Unix/linux system,  log in as a non-Oracle user but in same group as the Oracle user.  Executing any 'java' commands fails with not finding libjava.so
To verify:

Log in as a group user, and run this command:

$ORACLE_HOME/jdk/bin/java -version

Following error is returned:
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.