Note that there are some explanatory texts on larger screens.

plurals
  1. POBad ELF interpreter, when using java in fedora
    primarykey
    data
    text
    <p>I'm very green in Linux. I installed jdk1.7 downloaded from oracle(which is a rpm file) and changed the .bash_profile to add the JAVAHOME and CLASSPATH like this:</p> <blockquote> <pre><code>JAVAHOME=/usr/java/jdk1.7.006 export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH CLASSPATH=.:$JAVAHOME/lib/dt.jar:$JAVAHOME/lib/tools.jar export CLASSPATH </code></pre> </blockquote> <p>and i reboot. but when i try:</p> <blockquote> <pre><code>java -version </code></pre> </blockquote> <p>the following will be displayed:</p> <blockquote> <pre><code>bash: /usr/java/jdk1.7.0_06/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory </code></pre> </blockquote> <p>then i tried :</p> <blockquote> <pre><code>su -c 'yum install glibc.i686' </code></pre> </blockquote> <p>and will lead to:</p> <blockquote> <p>Loaded plugins: langpacks, presto, refresh-packagekit Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. --> Running transaction check ---> Package glibc.i686 0:2.15-51.fc17 will be installed --> Processing Dependency: libfreebl3.so(NSSRAWHASH3.12.3) for package: glibc-2.15-51.fc17.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.15-51.fc17.i686 --> Running transaction check ---> Package nss-softokn-freebl.i686 0:3.13.5-1.fc17 will be installed --> Finished Dependency Resolution Error: Protected multilib versions: glibc-2.15-51.fc17.i686 != glibc-2.15-37.fc17.x8664 Error: Protected multilib versions: nss-softokn-freebl-3.13.5-1.fc17.i686 != nss-softokn-freebl-3.13.4-2.fc17.x86_64</p> </blockquote> <p>I just don't understand what's wrong with it?</p> <p>Before I installed jdk1.7, I tried java -version and I will get some response like openJDK or something.</p> <p>btw, when i installed the java, before 'complete', it showed alse bad ELF interpreter error and i ignored them.</p> <p>i would appreciate it if any of you can provide a solution. and forgive my poor English.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload