CentOS Install Oralce Java Graphics Error: Libxtst.so.6:cannot Open Shared object file:no such file or Directory____java

Source: Internet
Author: User
Tags reserved
[Oracle@pin database]$./runinstaller-ignoresysprereqs
Starting Oracle Universal Installer ...


Checking Installer Requirements ...


Checking operating system version:must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed




All installer requirements met.


Preparing to launch Oracle Universal Installer from/tmp/orainstall2016-07-13_09-41-25am. Please wait ... [Oracle@zlzpin database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, +, Oracle. All rights reserved.


Exception Java.lang.UnsatisfiedLinkError:/tmp/orainstall2016-07-13_09-41-25am/jre/1.4.2/lib/i386/libawt.so: Libxtst.so.6:cannot open Shared object file:no such file or directory occurred.
Java.lang.UnsatisfiedLinkError:/tmp/orainstall2016-07-13_09-41-25am/jre/1.4.2/lib/i386/libawt.so:libxtst.so.6: Cannot open shared object File:no such file or directory
At Java.lang.classloader$nativelibrary.load (Native method)
At Java.lang.ClassLoader.loadLibrary0 (Unknown Source)
At Java.lang.ClassLoader.loadLibrary (Unknown Source)
At Java.lang.Runtime.loadLibrary0 (Unknown Source)
At Java.lang.System.loadLibrary (Unknown Source)
At Sun.security.action.LoadLibraryAction.run (Unknown Source)
At Java.security.AccessController.doPrivileged (Native method)
At Sun.awt.NativeLibLoader.loadLibraries (Unknown Source)
At sun.awt.debughelper.<clinit> (Unknown Source)
At java.awt.component.<clinit> (Unknown Source)
At Oracle.sysman.oii.oiif.oiifm.oiifmgraphicinterfacemanager.<init> (oiifmgraphicinterfacemanager.java:222 )
At Oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager (Oiicsessioninterfacemanager.java : 193)
At Oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager (oiicsessioninterfacemanager.java:202)
At Oracle.sysman.oii.oiic.OiicInstaller.getInterfaceManager (oiicinstaller.java:436)
At Oracle.sysman.oii.oiic.OiicInstaller.runInstaller (oiicinstaller.java:926)
At Oracle.sysman.oii.oiic.OiicInstaller.main (oiicinstaller.java:866)
Exception in thread "main" Java.lang.NoClassDefFoundError
At Oracle.sysman.oii.oiif.oiifm.oiifmgraphicinterfacemanager.<init> (oiifmgraphicinterfacemanager.java:222 )
At Oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager (Oiicsessioninterfacemanager.java : 193)
At Oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager (oiicsessioninterfacemanager.java:202)
At Oracle.sysman.oii.oiif.oiifm.oiifmalert.<clinit> (oiifmalert.java:151)
At Oracle.sysman.oii.oiic.OiicInstaller.runInstaller (oiicinstaller.java:984)

At Oracle.sysman.oii.oiic.OiicInstaller.main (oiicinstaller.java:866)


If the above prompts please install 3 related packages
#yum Install libxp*.i686 #yum install libxt*.i686 #yum Install libxtst*.i686
[Oracle@zlzpin database]$./runinstaller-ignoresysprereqs
Starting Oracle Universal Installer ...


Checking Installer Requirements ...


Checking operating system version:must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed




All installer requirements met.


Preparing to launch Oracle Universal Installer from/tmp/orainstall2016-07-13_09-47-48am. Please wait ... [Oracle@zlzpin database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, +, Oracle. All rights reserved.


Can ' t connect to X11 Window server using ' localhost:11.0 ' as the value of the DISPLAY variable.
localhost:11.0
localhost:11.0
Oui-10025:unable to start a interactive install session because of the following Error:can ' t connect to X11 Window server Using ' localhost:11.0 ' as the value of the DISPLAY variable. The DISPLAY environment variable should is set to Oui-10026:depending on the Unix Shell, your can use one of the following commands as examples to set the DISPLAY environmen T variable:
-For CSH:% setenv DISPLAY 192.168.1.128:0.0
-For SH, ksh and bash: $ display=192.168.1.128:0.0; Export DISPLAY
Use the following command to the what shell is being used:
Echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
Echo $DISPLAY
-Make sure so client users are authorized to connect to the X Server.
Oui-10027:to enable client users to access the X Server, open a xterm, dtterm or XConsole as the user that started the SE Ssion and type the following command:
% xhost +
To test this DISPLAY environment variable is set correctly, run a X11 based program that comes with the native Operati ng system such as ' xclock ':
% <full path to xclock ...
If you are are not able to run Xclock successfully, please refer to your pc-x Server or OS vendor for further.
Typical path for ' xclock ': '/usr/x11r6/bin/xclock '



The above error runs export display=ip:0.0 can

IP is the IP of the Windows machine


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.