tag:blogger.com,1999:blog-852161773840707483.post4690507638734379093..comments2019-03-07T13:49:49.090+00:00Comments on OceanLinux: How To Install Oracle Java 11 In Ubuntu, Linux Mint Or Debian (From PPA Repository)Logixhttp://www.blogger.com/profile/03026963810377267607noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-852161773840707483.post-86986348697311713342019-03-04T10:23:40.430+00:002019-03-04T10:23:40.430+00:00Press the TAB key. That should select the OK butto...Press the TAB key. That should select the OK button, and then you can press the ENTER key to proceed. On the next step, press TAB to select &quot;Yes&quot; and accept the license.Logixhttps://www.blogger.com/profile/03026963810377267607noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-84539383638253144502019-03-03T12:56:42.493+00:002019-03-03T12:56:42.493+00:00I have a linux Mint 19.1 Tessa (Cinnamon.) I follo...I have a linux Mint 19.1 Tessa (Cinnamon.) I followed all of the steps below: <br /><br />sudo add-apt-repository ppa:linuxuprising/java<br />sudo apt update<br />sudo apt install oracle-java11-installer<br /><br />As soon as I reached the Package configuration to configuring oracle-java11-installer, the OK button isn&#39;t highlighted. I cannot press enter nor click with the mouse. Help!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-80365789777138587392019-02-06T14:22:45.571+00:002019-02-06T14:22:45.571+00:00I actually should have deleted that file, since th...I actually should have deleted that file, since there&#39;s no javaws in Oracle Java 11. I&#39;ll update the package with that and a couple other minor changes.Logixhttps://www.blogger.com/profile/03026963810377267607noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-76157059608197063412019-02-06T13:49:43.117+00:002019-02-06T13:49:43.117+00:00There is an error with the .desktop file: &quot;/u...There is an error with the .desktop file: &quot;/usr/share/applications/JB-javaws-jdk11.desktop&quot;.<br />Internally, is pointing to java 11 icon, jvm, etc. The content of the file is:<br /><br />[Desktop Entry]<br />Encoding=UTF-8<br />Name=Oracle Java 10 Web Start<br />Comment=Oracle Java 10 Web Start<br />Exec=/usr/lib/jvm/java-10-oracle/bin/javaws %u<br />Terminal=false<br />Type=Application<br />Icon=oracle_java10<br />Categories=Application;Network;<br />MimeType=application/x-java-jnlp-file;<br /><br />It should be:<br /><br />[Desktop Entry]<br />Encoding=UTF-8<br />Name=Oracle Java 11 Web Start<br />Comment=Oracle Java 11 Web Start<br />Exec=/usr/lib/jvm/java-11-oracle/bin/javaws %u<br />Terminal=false<br />Type=Application<br />Icon=oracle_java11<br />Categories=Application;Network;<br />MimeType=application/x-java-jnlp-file;<br />Julián Castellanoshttps://www.blogger.com/profile/13783145470922606498noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-25145967555657965722019-01-22T10:30:06.472+00:002019-01-22T10:30:06.472+00:00The oracle-java11-installer package is in the PPA ...The oracle-java11-installer package is in the PPA for all supported Ubuntu versions: <a href="https://launchpad.net/~linuxuprising/+archive/ubuntu/java/+packages" rel="nofollow">https://launchpad.net/~linuxuprising/+archive/ubuntu/java/+packages</a>.<br /><br />The reason you&#39;re getting the &quot;unable to locate package&quot; error might be due to:<br />- you didn&#39;t add the PPA (sudo add-apt-repository ppa:linuxuprising/java)<br />- you didn&#39;t update the software sources (sudo apt update)<br />- you&#39;re running an unsupported Ubuntu version (or some Linux distribution based on an unsupported Ubuntu version)<br /><br />What Ubuntu version are you on?Logixhttps://www.blogger.com/profile/03026963810377267607noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-79428693737771096382019-01-21T12:51:06.207+00:002019-01-21T12:51:06.207+00:00The installation failed. It said: E: Unable to loc...The installation failed. It said:<br />E: Unable to locate package oracle-java11-installernairb.idi9https://www.blogger.com/profile/01638264482406604121noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-36957507206660689062019-01-16T14:04:03.272+00:002019-01-16T14:04:03.272+00:00Thank you. I won&#39;t have time to check it out f...Thank you.<br />I won&#39;t have time to check it out for a while, but the community thanks you. Keep up the good work. @ryanparashttps://twitter.com/ryanparasnoreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-66311168155452052872019-01-16T11:18:15.660+00:002019-01-16T11:18:15.660+00:00PPA updated!PPA updated!Logixhttps://www.blogger.com/profile/03026963810377267607noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-89873860219860492052019-01-16T11:18:02.226+00:002019-01-16T11:18:02.226+00:00Java was updated and when Oracle does this, it rem...Java was updated and when Oracle does this, it removes the old URLs, that&#39;s why you got a 404 not found error. I just updated the packages with the new Oracle Java 11.0.2 so it will work now. Use &quot;sudo apt update&quot; to update the software sources, then &quot;sudo apt install oracle-java11-installer&quot; to install the latest version.Logixhttps://www.blogger.com/profile/03026963810377267607noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-62813787277058718382019-01-16T11:16:35.528+00:002019-01-16T11:16:35.528+00:00The PPA now has the latest Oracle Java 11.0.2 and ...The PPA now has the latest Oracle Java 11.0.2 and the installer should work again.Logixhttps://www.blogger.com/profile/03026963810377267607noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-48047129742436307192019-01-16T10:39:22.544+00:002019-01-16T10:39:22.544+00:00I&#39;ve tried a couple times installing java 11 u...I&#39;ve tried a couple times installing java 11 using this PPA and it always returned 404 Not Found.Pramuko Ajihttps://www.blogger.com/profile/10592924444055655548noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-25494520333875248912019-01-16T07:13:07.501+00:002019-01-16T07:13:07.501+00:00Logix - Can you please update the post install s...Logix - <br /><br />Can you please update the post install script?<br />I was able to install 11.0.2 (Minor Version 7) by modifying the post install script (when 11.0.1 broke) like this ...<br /><br /># diff /var/lib/dpkg/info/oracle-java11-installer.postinst /var/lib/dpkg/info/oracle-java11-installer.postinst.ORIGINAL<br />25c25<br />&lt; SHA256SUM_TGZ=&quot;1f14572cae12adec64d28fdbf38935df7ced20b3efb54c33934b8bbecafdcd79&quot; #must be modified for each release<br />---<br />&gt; SHA256SUM_TGZ=&quot;e7fd856bacad04b6dbf3606094b6a81fa9930d6dbb044bbd787be7ea93abc885&quot; #must be modified for each release<br />63,64c63,64<br />&lt; JAVA_VERSION_2nd_PART=0.2 #<br />&lt; JAVA_VERSION_MINOR=7 #must be modified for each release<br />---<br />&gt; JAVA_VERSION_2nd_PART=0.1 #<br />&gt; JAVA_VERSION_MINOR=13 #must be modified for each release<br />67c67<br />&lt; PARTNER_URL=&quot;http://download.oracle.com/otn-pub/java/jdk/${JAVA_VERSION}.${JAVA_VERSION_2nd_PART}+${JAVA_VERSION_MINOR}/f51449fcd52f4d52b93a989c5c56ed3c/$FILENAME&quot;<br />---<br />&gt; PARTNER_URL=&quot;http://download.oracle.com/otn-pub/java/jdk/${JAVA_VERSION}.${JAVA_VERSION_2nd_PART}+${JAVA_VERSION_MINOR}/90cf5d8f270a4347a95050320eef3fb7/$FILENAME&quot;<br />70,71c70,71<br />&lt; JAVA_VERSION_2nd_PART=0.2 #<br />&lt; JAVA_VERSION_MINOR=7 #must be modified for each release<br />---<br />&gt; JAVA_VERSION_2nd_PART=0.1 #<br />&gt; JAVA_VERSION_MINOR=13 #must be modified for each release<br />74c74<br />&lt; PARTNER_URL=&quot;http://download.oracle.com/otn-pub/java/jdk/${JAVA_VERSION}.${JAVA_VERSION_2nd_PART}+${JAVA_VERSION_MINOR}/f51449fcd52f4d52b93a989c5c56ed3c/$FILENAME&quot;<br />---<br />&gt; PARTNER_URL=&quot;http://download.oracle.com/otn-pub/java/jdk/${JAVA_VERSION}.${JAVA_VERSION_2nd_PART}+${JAVA_VERSION_MINOR}/90cf5d8f270a4347a95050320eef3fb7/$FILENAME&quot;<br /><br />@ryanparashttps://twitter.com/ryanparasnoreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-62986854280725018352019-01-16T01:10:15.808+00:002019-01-16T01:10:15.808+00:00the installation failed because Oracle JDK 11 got ...the installation failed because Oracle JDK 11 got updated to jdk-11.0.2 and jdk-11.0.1 isn&#39;t available for download anymore, thank you for PPA repository and waiting for the updateAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-90065341313374645652018-12-09T19:18:25.457+00:002018-12-09T19:18:25.457+00:00hello where is the box to accept the agreement in ...hello where is the box to accept the agreement in the java page?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-66231522265641572902018-11-26T11:35:00.233+00:002018-11-26T11:35:00.233+00:00If you want to remove the repository you can do th...If you want to remove the repository you can do this using Software &amp; Updates &gt; Other Software &gt; disable the linuxuprising/java PPA. Or you can remove it from the command line, like so:<br /><br />sudo add-apt-repository -r ppa:linuxuprising/java<br /><br />Logixhttps://www.blogger.com/profile/03026963810377267607noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-85144889982803653612018-11-26T11:29:06.428+00:002018-11-26T11:29:06.428+00:00Thank you! It worked! But do I need to worry about...Thank you! It worked!<br />But do I need to worry about the PPA repository that has been added?Renan Furtadohttps://www.blogger.com/profile/09909874396376024369noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-24057936174004949872018-11-26T10:51:34.614+00:002018-11-26T10:51:34.614+00:00You can remove it using: sudo apt remove oracle-j...You can remove it using:<br /><br />sudo apt remove oracle-java11-installerLogixhttps://www.blogger.com/profile/03026963810377267607noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-37747429653382474242018-11-26T10:26:32.495+00:002018-11-26T10:26:32.495+00:00Hello! How do I remove the Oracle JDK 11 installat...Hello! How do I remove the Oracle JDK 11 installation? I followed the installation steps successfully, but now I want to remove ...Renan Furtadohttps://www.blogger.com/profile/09909874396376024369noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-31985861997119406202018-11-06T11:06:40.871+00:002018-11-06T11:06:40.871+00:00If you install the oracle-java11-set-default packa...If you install the oracle-java11-set-default package, it adds jdk.sh in /etc/profile.d/ which sets JAVA_HOME and others. A logout/login is needed after installing the oracle-java11-set-default package to pick up the new environment variables.Logixhttps://www.blogger.com/profile/03026963810377267607noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-45768712171706321812018-11-04T17:12:52.659+00:002018-11-04T17:12:52.659+00:00yo I want to know what files do you edit to implem...yo I want to know what files do you edit to implement the $JAVA_HOME ?<br /><br />I cannot found the settings on my bashrc bash_profile profile or /etc/environmentAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-89072227474551983652018-10-31T10:09:14.691+00:002018-10-31T10:09:14.691+00:00I&#39;m glad to hear that! 😁I&#39;m glad to hear that! 😁Logixhttps://www.blogger.com/profile/03026963810377267607noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-22462287041242877992018-10-30T21:56:56.631+00:002018-10-30T21:56:56.631+00:00I don&#39;t think you get near enough thanks for m...I don&#39;t think you get near enough thanks for making this so easy to find and easy to do. I just wanted you to know how much I appreciate it. - Ken Starks Reglue.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-35179426241970528342018-10-18T10:57:26.233+01:002018-10-18T10:57:26.233+01:00Remove oracle-java10-installer. Oracle no longer p...Remove oracle-java10-installer. Oracle no longer provides public downloads for Oracle Java 10 so that won&#39;t work. So just do: &quot;sudo apt remove oracle-java10-installer&quot;. Then follow the steps I mentioned.<br /><br />This is a screenshot showing oracle-java11-installer using the local .tar.gz file instead of downloading it from Oracle: <a href="https://i.imgur.com/5g0J9Kj.png" rel="nofollow">https://i.imgur.com/5g0J9Kj.png</a>.Logixhttps://www.blogger.com/profile/03026963810377267607noreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-51680824326784581582018-10-18T02:03:28.701+01:002018-10-18T02:03:28.701+01:00Awright, I&#39;m an idiot. Had to add oracle.com t...Awright, I&#39;m an idiot. Had to add oracle.com to my whitelist. Now I&#39;ve got a different issue:<br /><br />download failed<br />Oracle JDK 10 is NOT installed.<br /><br />So I guess I have to go to 10 first, then 11?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-852161773840707483.post-89079119177364620312018-10-18T01:59:30.475+01:002018-10-18T01:59:30.475+01:00Well, you were partially right :) The file was the...Well, you were partially right :)<br />The file was there, but empty. I downloaded 11.0.1 and put it in the correct directory, but running &quot;sudo apt install oracle-java11-installer&quot; still gives me<br />Connecting to edelivery.oracle.com (edelivery.oracle.com)|2600:141b:2000:28a::2d3e|:443... failed: Permission denied.<br />Anonymousnoreply@blogger.com