We help IT Professionals succeed at work.

The java.library.path system variable is missing or invalid. Please set java.library.path

High Priority
321 Views
Last Modified: 2019-10-31
Hi Experts,
I do install Oracle 18c client on Solaris SPARC 64 using SSH from Windows 10 PC. I did configure the DISPLAY parameter as (My local IP:10.0)
When I run the installer, I get the following error message:

The java.library.path system variable is missing or invalid. Please set java.library.path with a correct value and retry the operation.

 2019-10-27_10-30-59.jpg
Could you please help me to fix the above issue?

Thanks in advance,
Daniel Mina
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2012
Distinguished Expert 2019
Commented:
Before we go through troubleshooting the installer, what specifically are you needing from the client?

Most tools and utilities these days are part pf the Instant Client.  There really isn't any install for it.  Some drivers may have an install piece but nothing like the complete Oracle installer.

https://www.oracle.com/database/technologies/instant-client/downloads.html


Back to the original question asked:
If you look around for that error, it points to a Bit incompatibility.  Make sure the client you are installing matches the bit version of the OS.  If you are trying to install the 32Bit client on a 64Bit OS, you likely need a 32Bit Java but that is a guess at this point.

Author

Commented:
Hi Slightwv,
Thanks for the advice regarding using instant client instead of using full client installation package, I will check with developer regarding this option.

Regarding my question and your hints, the Oracle client package which I use is "SOLARIS.SPARC64_180000_client.zip" and OS bit is "64-bit sparcv9 kernel modules".

Thanks,
Daniel Mina
CERTIFIED EXPERT
Most Valuable Expert 2012
Distinguished Expert 2019

Commented:
>>the Oracle client package which I use is "SOLARIS.SPARC64_180000_client.zip"

Sorry but that doesn't mean anything to me.

Author

Commented:
I mean that it's the same OS type which is Solaris and its bit is 64 same as OS bit.
CERTIFIED EXPERT
Most Valuable Expert 2012
Distinguished Expert 2019

Commented:
OK.  I'm not familiar with Sparc so probably cannot be much more help.  One last thing to check is maybe make sure Java is installed?

Author

Commented:
Java is installed on the machine as below:

# java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)

I believe I could go with your advice to use instant client, I may need your support regarding the installation and configuration as this is my first time to use this type of installation. I also found installation steps at Oracle's web site as below:

https://docs.oracle.com/en/database/oracle/r-enterprise/1.5.1/oread/installing-oracle-database-instant-client.html#GUID-49C6B904-FE97-43F2-864E-19AA7D904548
CERTIFIED EXPERT
Most Valuable Expert 2012
Distinguished Expert 2019

Commented:
Link seems good from a quick scan.

I mentioned before, there really isn't an "install" for the basic client.  Just unzip and run.  What tools/utilities do they need?

Author

Commented:
Thanks Slightwv, I used the instant client as per your recommendation.
For anyone who may pass over here searching for a solution for this error, I believe that using a higher version of Java may fix this issue.