FedoraForum.org - Fedora Support Forums and Community
Results 1 to 10 of 10
  1. #1
    sape Guest

    SUN JDK on Fedora 10

    Hi,

    I can't get the JDK from SUN installed on Fedora 10 for some reason.

    When I try to install it I get the following error message:
    Code:
    Unpacking...
    Checksumming...
    Extracting...
    ./jdk-6u10-linux-i586-rpm.bin: ./install.sfx.4441: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
    Installing JavaDB
    error: open of sun-javadb-common-10.4.1-3.1.i386.rpm failed: No such file or directory
    error: open of sun-javadb-core-10.4.1-3.1.i386.rpm failed: No such file or directory
    error: open of sun-javadb-client-10.4.1-3.1.i386.rpm failed: No such file or directory
    error: open of sun-javadb-demo-10.4.1-3.1.i386.rpm failed: No such file or directory
    error: open of sun-javadb-docs-10.4.1-3.1.i386.rpm failed: No such file or directory
    error: open of sun-javadb-javadoc-10.4.1-3.1.i386.rpm failed: No such file or directory
    I also tried the NON RPM verison and I get the same message:
    Code:
    bad ELF interpreter: No such file or directory
    Does anybody know how to get the SUN JDK installed on Fedora 10?

    I know OpenJDK already comes with it but I need the SUN JDK explicitely to be installed.

  2. #2
    Join Date
    Nov 2006
    Location
    Detroit
    Posts
    10,393
    Mentioned
    134 Post(s)
    Tagged
    0 Thread(s)
    Use the nonRPM version.
    You need to make the file executable:

    chmod 755 jdk-6u10-linux-i586.bin

    You should then be able to run that file. It will unpack the contents in the current directory, which you can then move to wherever you want. If you put the extracted directory (jdk1.6.0_10) in, say, /usr/local, then add /usr/local/jdk1.6.0_10/bin to your PATH:

    export PATH=/usr/local/jdk1.6.0_10/bin:$PATH

    You should then be able to run java, javac, etc.

    I think you may need the libXp package installed: yum install libXp

  3. #3
    sape Guest
    I already tried to use the NON RPM version like I said in my initial post. I tried them both and both came up with the same error.

    I did this before on previous Fedora version and had no problem at all with installing it. Do you have any clue what is wrong?

  4. #4
    sape Guest
    It seems that it's not possible anymore to install a 32-bit JDK on Fedora 10. On my last Fedora distribution I could .

  5. #5
    cr4ck3r Guest
    Such a weird issue, I am using a 32bit Sun JDK on my laptop without any problem. I think that your downloaded files have problem!
    PS: I'm using Sun JDK 6 update 10!

  6. #6
    Join Date
    Aug 2007
    Location
    London Postbox (the red one)
    Age
    61
    Posts
    3,868
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi if you dont mind using ver JDK 6 update 7 then it can be installed for you here, which reminds me that i need to update it Though the open source one is pretty good if not as good or better now.
    su
    yum install java-1.6.0-openjdk-plugin
    http://dnmouse.org/autoten.html

  7. #7
    rickkw Guest

    Try this

    The library you are missing is comes from the 32bit version of the glibc. You can try installing the i386 version of glibc using yum. That would install /lib/ld-linux.so.2 for you.

  8. #8
    Join Date
    Oct 2005
    Location
    GMT
    Posts
    3,242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://fedorasolved.org/browser-solutions/java-i386/

    I've just finished my second i386 installation (I did also one x86_64). One is 1.5, the other is 6. Both Java plugin w/ FF3 and JEE development with Eclipse and JBoss 4.2.2 and 5 work flawlessly after following above instructions.
    Asus K55VD, i5 3230M - Productivity/Programming (F28)
    Asus M32CD - i7-6700, Asus STRIX-GTX970-DC2OC-4GD, 1x8 GB Sk Hynix 2133 MHz DDR4 - Gaming (W10)

  9. #9
    Kathy Gerber Guest

    Worked for me but..

    Quote Originally Posted by giulix
    http://fedorasolved.org/browser-solutions/java-i386/

    I've just finished my second i386 installation (I did also one x86_64). One is 1.5, the other is 6. Both Java plugin w/ FF3 and JEE development with Eclipse and JBoss 4.2.2 and 5 work flawlessly after following above instructions.
    I used the instructions at the link to install jre1.60_11 on FC10. Everything appears to work; however, the instruction
    sed -i 's/XINERAMA/FAKEEXTN/g' /opt/jre1.6.0_11/lib/i386/xawt/libmawt.so

    gave errors.

    I have a follow up question. How does one install ant in this scenario?

  10. #10
    Join Date
    Oct 2005
    Location
    GMT
    Posts
    3,242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Kathy Gerber
    I used the instructions at the link to install jre1.60_11 on FC10. Everything appears to work; however, the instruction
    sed -i 's/XINERAMA/FAKEEXTN/g' /opt/jre1.6.0_11/lib/i386/xawt/libmawt.so

    gave errors.
    Most probably the Java installation path is different on your box
    Quote Originally Posted by Kathy Gerber
    I have a follow up question. How does one install ant in this scenario?
    As usual. For example, I unpack it under /usr/local and then create a symbolic link under /usr/local/bin to `../apache-ant-[version]/bin/ant'
    Last edited by giulix; 8th January 2009 at 02:31 PM.
    Asus K55VD, i5 3230M - Productivity/Programming (F28)
    Asus M32CD - i7-6700, Asus STRIX-GTX970-DC2OC-4GD, 1x8 GB Sk Hynix 2133 MHz DDR4 - Gaming (W10)

Tags for this Thread

Posting Permissions

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