Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8480997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:26:46+00:00 2026-06-10T19:26:46+00:00

I tried to install jdk7 (Linux x64 rpm) on to my Amazon EC2 instance.

  • 0

I tried to install jdk7 (Linux x64 rpm) on to my Amazon EC2 instance. I used wget and curl -o to do so but it did not download successfully. Instead, it downloaded an error html file wherein it tells to accept the license agreement before downloading.
I used this link http://www.oracle.com/technetwork/java/javase/downloads/jdk7u7-downloads-1836413.html to accept the agreement after which I right clicked on the package and copied the link and tried downloading it through command line, but it did not work.
I downloaded it to my local machine and used scp to move it on to my local directory in EC2. But when I tried executing it, it threw these errors :

sudo rpm -i jdk-7u7-linux-x64.rpm
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

I googled for a solution and came across this link : http://docs.oracle.com/javase/7/docs/webnotes/install/linux/linux-jdk.html

Even though it says :
“1. Download the file. Before the file can be downloaded, you must accept the license agreement.” is there any way of accepting the license through command line?

Thank you!

I don’t think this issue is caused by a problem accepting the license agreement (that is just to download), I think this is related to a buggy rpm package. Post this rpm -i install, does java work? Can you navigate to /usr/java/jdk1.7.0_07/jre/bin and run java?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T19:26:47+00:00Added an answer on June 10, 2026 at 7:26 pm

    It’s not you, it is the Oracle site. They changed their licensing strategy.

    Read this blog post for more information, and some tips on automating it.

    An interesting tidbit at the bottom of the post:

    According to the OTN BCL document for Java SE:

    BY SELECTING THE “ACCEPT LICENSE AGREEMENT” (OR THE EQUIVALENT) BUTTON
    AND/OR BY USING THE SOFTWARE YOU ACKNOWLEDGE THAT YOU HAVE READ THE
    TERMS AND AGREE TO THEM.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried to install python below way. But this did not work. This take
I tried to install less, but it's not working. Firebug report this error :
I tried to install Web Tool Platform for Eclipse but I can not succeed
EDIT Tried install God, but get The server is not available (or you do
One my linux instance, I am trying to install JDK 7 using the rpm.
Tried to install some program, it gives above message requiring 1.1.4322. BUT as the
I tried to install the RMySQL-library (R version 2.14.2, WinXP on 32bit) but got
I tried to install the Yahoo BOSS mashup framework, but am having trouble running
I tried to install PEAR in my php(XAMPP). But i get the following error..
I tried to install gcc 4.5 on ubuntu 10.04 but failed. Here is a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.