Installing JDK and Eclispe
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2012
    Location
    Chennai
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Installing JDK and Eclispe

    Hello people,

    I downloaded the JDK from the Oracle website. jdk-7u7-linux-x64.rpm file. It's in my download directory. I tried to install it this way and have a look at the error I got. I googled for the same but couldn't find any convincing solutions.

    Code:
    [root@Ankur-Fedora ~]# rpm -Uvh /home/ankur218/Downloads/jdk-7u7-linux-x64.rpm
    Preparing...                ########################################### [100%]
       1:jdk                    ########################################### [100%]
    Unpacking JAR files...
    	rt.jar...
    Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/rt.pack
    	jsse.jar...
    Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/jsse.pack
    	charsets.jar...
    Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/charsets.pack
    	tools.jar...
    Error: Could not open input file: /usr/java/jdk1.7.0_07/lib/tools.pack
    	localedata.jar...
    Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/ext/localedata.pack
    When I retry the same thing again, this is what I get

    Code:
    [root@Ankur-Fedora ~]# rpm -Uvh /home/ankur218/Downloads/jdk-7u7-linux-x64.rpm
    Preparing...                ########################################### [100%]
    	package jdk-2000:1.7.0_07-fcs.x86_64 is already installed
    Apparently when I typed java -versions, this is what came up.

    Code:
    [root@Ankur-Fedora ~]# java -version
    java version "1.7.0_07"
    Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
    Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
    Please help me install this, only then I can proceed with Eclipse too (though I feel I will have a tough time installing Eclipse too, after all I am a noob )

    Thanks a ton
    Last edited by ankur218; 18th October 2012 at 02:07 PM.

  2. #2
    PabloTwo's Avatar
    PabloTwo is offline "Registered User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,065
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Installing JDK and Eclispe

    Your install of Sun jdk-7u7-linux-x64.rpm was successful. The error messages displayed,
    Code:
       1:jdk                    ########################################### [100%]
    Unpacking JAR files...
    	rt.jar...
    Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/rt.pack
    	jsse.jar...
    Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/jsse.pack
    	charsets.jar...
    Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/charsets.pack
    	tools.jar...
    Error: Could not open input file: /usr/java/jdk1.7.0_07/lib/tools.pack
    	localedata.jar...
    Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/ext/localedata.pack
    are normal. They exist because those files don't exist in the package. I get them when installing the Sun jre rpm packages. Just ignore those particular error messages.
    Last edited by PabloTwo; 18th October 2012 at 03:53 PM.

  3. #3
    Join Date
    Oct 2012
    Location
    Chennai
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Installing JDK and Eclispe

    Shall I continue with installing the extras in that case?

    I would breathe a sigh of relief then *phew*

  4. #4
    PabloTwo's Avatar
    PabloTwo is offline "Registered User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,065
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Installing JDK and Eclispe

    Continue with installing whatever you wish.

Similar Threads

  1. Problem installing Fedora 15 x64 from installing CD
    By jackscorrow in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 14th October 2011, 04:31 PM
  2. Help installing Installing nVidia Drivers and 32bit OpenGL
    By Jeff91 in forum Installation, Upgrades and Live Media
    Replies: 3
    Last Post: 25th August 2009, 12:25 AM
  3. Installing yum package (installing gcc...)
    By jjnerd in forum Using Fedora
    Replies: 3
    Last Post: 3rd June 2009, 07:12 PM
  4. Replies: 11
    Last Post: 28th October 2008, 05:49 AM
  5. Problem installing updates after installing MySQL 4.1.11
    By garthbrown in forum Using Fedora
    Replies: 4
    Last Post: 26th May 2005, 06:49 AM

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
  •