Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 12503  / 2 Years ago, wed, february 9, 2022, 3:52:47

I'm trying to get JDK 1.6 using the following command:



wget 'http://download.oracle.com/otn/java/jdk/6u14-b08/jdk-6u14-linux-x64.bin'


The download fails and I suspect it's related to the fact that the website requires you to accept the license agreement. Is there a way to accept the agreement and receive the file?


More From » java

 Answers
0

I will go ahead and post it just in case....Please note however that these instruciton install Java7 NOT Java6



cut and paste from http://www.webupd8.org




Install Oracle Java 7



For most stuff, OpenJDK/JRE is enough (and you can install it using
Ubuntu Software Center), but in case you really need Oracle
(previously Sun) Java 7, you can install it (this will install JDK/JRE
and the browser plugin) in Ubuntu using the WebUpd8 Java PPA



in terminal type



sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer



This is a excerpt of my answer to this question.



The PPA that you install with thesecommands only points to the Java website to make installing easier, it does not contain Java itself. Oracle changed the license and now it can not be hosted anywhere and can only be downloaded directly from Oracle..



HERE is an older post from the same site that gives more information on this change as well as more information on Java7 itself and how to remove it , check for and select which version is running.




[#36474] Wednesday, February 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bsorbedeldy

Total Points: 315
Total Questions: 110
Total Answers: 108

Location: Reunion
Member since Mon, Dec 28, 2020
3 Years ago
;