Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: Jdeveloper on Open suse

  1. #11
    Join Date
    Sep 2012
    Posts
    5,139

    Default Re: Jdeveloper on Open suse

    Quote Originally Posted by ali_mearaj View Post
    \
    Code:
    x@linux-ercl:~/Oracle/Middleware/jdeveloper/jdev/bin> sudo ./jdev
    Why do you run it as root?

  2. #12
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Jdeveloper on Open suse

    If you want to try out any Java applications (including jdev) using Oracle's Java, it is better to install Oracle's Java in your home directory and set up the proper paths (for executables as well as for classes). Doing this way will eliminate all other interferences and requirement of using root password.

    You may either download JDK (if you want to do any Java development) or JRE (if you just want to run Java programs). Just get the latest version for your machine architecture (32 or 62 bit). DO NOT download the rpm version. Just download the one with .tar.gz extension and untar it in your home directory.

    Example: JDK 7 update 24 for 64 bit machine is downloaded. File name: jdk-7u24-linux-x64.tar.gz
    (This will remove any existing file with the name jdk in your home directory).

    Code:
    cd $HOME
    tar xzf jdk-7u24-linux-x64.tar.gz
    rm -fr jdk
    ln -s jdk1.7.0_24 jdk
    We have created a link called jdk for convenience.

    Put the following in your .profile file:
    Code:
    export PATH=$HOME/jdk/bin:$PATH
    export JAVA_HOME=$HOME/jdk
    export JRE_HOME=$HOME/jdk
    That's it! Now, whatever Java programs you run with your login will use the Java installation from the $HOME/jdk directory.

    In the future, if you want to try a later version of Java, just download and follow the first steps (untar it and create the jdk link) only.
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  3. #13

    Default Re: Jdeveloper on Open suse

    Hi,
    DenverD, I am using a phisical installation of Open suse, not a virtual one.


    It does not require root access to run Jdeveloper, but I was trying everything I know.


    syampillai
    I have tried your steps, still the same error


    Code:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/memo/Oracle/Middleware/jdk160_24/jre/lib/i386/xawt/libmawt.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(ClassLoader.java:1806)                                         
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1702)
            at java.lang.Runtime.load0(Runtime.java:770)
            at java.lang.System.load(System.java:1003)
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1806)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1723)
            at java.lang.Runtime.loadLibrary0(Runtime.java:823)
            at java.lang.System.loadLibrary(System.java:1028)
            at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
            at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
            at java.awt.Component.<clinit>(Component.java:567)
            at oracle.ide.osgi.boot.OracleIdeLauncher.main(OracleIdeLauncher.java:87)
            at oracle.ide.osgi.boot.JDeveloper.main(JDeveloper.java:14)
    memo@linux-ercl:~/Oracle/Middleware/jdeveloper/jdev/bin>

  4. #14
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Jdeveloper on Open suse

    Did install X (or any desktop environment)? Are you using text mode?

    What is the output of:
    Code:
    ls -l /usr/lib64/libXtst.so.*
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  5. #15

    Default Re: Jdeveloper on Open suse

    Quote Originally Posted by syampillai View Post
    What is the output of:
    Code:
    ls -l /usr/lib64/libXtst.so.*
    More interesting would be the output of:
    Code:
    ls -l /usr/lib/libXtst.so.*
    since the libmawt.so in the error message is 32bit:
    Code:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/memo/Oracle/Middleware/jdk160_24/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory

  6. #16
    Join Date
    Sep 2012
    Posts
    5,139

    Default Re: Jdeveloper on Open suse

    Out of curiosity I tried to install JDeveloper on openSUSE 12.3 x86_64 and it starts just fine. Of course, I have /usr/lib/libXtst.so.6 already, so I did not need to install it separately.

  7. #17
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Jdeveloper on Open suse

    @ali_mearaj
    Are you on a 64 bit machine with 32 bit Java?

    Please provide the following output:
    Code:
    uname -a
    which java
    java -version
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  8. #18

    Default Re: Jdeveloper on Open suse

    Hi,
    I am on 64 bit, running KDE
    please find the outputs below

    ls -l /usr/lib64/libXtst.so.*
    Code:
    ls -l /usr/lib64/libXtst.so.*lrwxrwxrwx 1 root root    16 Jun 22 07:06 /usr/lib64/libXtst.so.6 -> libXtst.so.6.1.0
    -rwxr-xr-x 1 root root 23096 Jun  7 15:51 /usr/lib64/libXtst.so.6.1.0
    ls -l /usr/lib/libXtst.so.*
    Code:
    ls -l /usr/lib/libXtst.so.*ls: cannot access /usr/lib/libXtst.so.*: No such file or directory

    uname -a
    which java
    java -version
    Code:
    memo@linux-ercl:~> uname -aLinux linux-ercl.site 3.7.10-1.16-desktop #1 SMP PREEMPT Fri May 31 20:21:23 UTC 2013 (97c14ba) x86_64 x86_64 x86_64 GNU/Linux
    memo@linux-ercl:~> which java
    /usr/bin/java
    memo@linux-ercl:~> java -version
    java version "1.7.0_21"
    OpenJDK Runtime Environment (IcedTea 2.3.9) (suse-8.14.5-x86_64)
    OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
    memo@linux-ercl:~>

  9. #19

    Red face Re: Jdeveloper on Open suse

    I feel very happy to see so many nice persons willing to help

    even if i could not reach the required result, still.. I am happy

  10. #20

    Default Re: Jdeveloper on Open suse

    Quote Originally Posted by ali_mearaj View Post
    ls -l /usr/lib/libXtst.so.*
    Code:
    ls -l /usr/lib/libXtst.so.*
    ls: cannot access /usr/lib/libXtst.so.*: No such file or directory
    
    Right.

    As I told you before (in comment #7): Install the package "libXtst6-32bit"!

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •