Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13
@coopstah13: FYI I haven't installed any RPMs neither am i able to, if i do that, it gives an error saying: Code: Error: jre-1.6.0_24-fcs is already installed The java that ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Dec 2010
    Posts
    34

    @coopstah13: FYI I haven't installed any RPMs neither am i able to, if i do that, it gives an error saying:
    Code:
    Error: jre-1.6.0_24-fcs is already installed
    The java that you can see is a remenant from the gcj, which is the root cause of all the trouble.
    I also did a "rm -rf" on "/usr/java", but in vain.
    Please help me to pin point the exact root cause.

  2. #12
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    use rpm -e command to uninstall previously installed RPM (whether or not it was you)

  3. #13
    Just Joined!
    Join Date
    May 2011
    Posts
    1
    Installing Java should be very easy.

    1. Test and remove what you already have (with java -version / yum erase)
    2. Download Java (wget from Oracle)
    3. Install
    mkdir /usr/java
    cd /usr/java
    sh /opt/jdk-6u25-linux-x64.bin
    4. Set JAVA_HOME in /root/bash_profile
    JAVA_HOME=/usr/java/jdk1.6.0_25
    export JAVA_HOME
    PATH=$JAVA_HOME/bin:$PATH
    export PATH

    Here is a short tutorial that explains all you need to know.
    thecoolserver.blogspot.com/2011/05/install-java.html
    (sorry I can't post links so you'll have to paste this)

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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