Not able to install open jdk 8 172 version on linux [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 3 years ago.
Improve this question
On my development server I am not able to install specific version (172) of openjdk 8.
I tried to install using aptitude but not able to install it.
sudo apt install openjdk-8-jre-headless=8u172-b01-2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '8u172-b01-2' for 'openjdk-8-jre-headless' was not found

Use aptitude while installing
sudo aptitude install openjdk-8-jre-headless=8u172-b01-2
It was already asked, check install exact version of openjdk on AskUbuntu.

Related

How do I install Java 12 on Mac OSX now that Java 13 is out? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I cannot find Java 12 to install anymore, just Java 13. But Gradle does not support Java 13 yet, so I need to use 12 as an alternative for now. When I look in Homebrew using brew search java I find all sort of javas: Java 11, Java 6 (!) and Java, which used to be Java 12 but is now Java 13.
Any idea how I can get Java 12?
Solution 1
You can get Java 12 from the AdoptOpenJDK Homebrew tap. (a tap is a formula repository) And the AdoptOpenJDK team maintains different versions of JDK in this repo.
brew tap AdoptOpenJDK/openjdk
brew cask install adoptopenjdk12
Solution 2
java is a formula defined in the repo Homebrew-cask. You can search and find the history file java.rb where Java 12 was defined within, and install Java 12 with the URL to that specific history file.
The following command installs vanilla OpenJDK (not the AdoptOpenJDK) 12.0.2.
brew cask install https://raw.githubusercontent.com/Homebrew/homebrew-cask/26203ad42b40c4bc3baa2f6cfa8469f1245b7fbc/Casks/java.rb

Installing java 9 fails on ubuntu - 404 error [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I'm trying to install java 9 on ubuntu 16.04, using the webupd8team repo. I've installed java 8 already on the same machine. Running the following commands
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java9-installer
leads to a 404 error for the last command:
Using wget settings from /var/cache/oracle-jdk9-installer/wgetrc
Downloading Oracle Java 9...
--2017-09-23 17:53:43-- http://download.java.net/java/jdk9/archive/181/binaries/jdk-9+181_linux-x64_bin.tar.gz
Auflösen des Hostnamen »download.java.net (download.java.net)«... 2.20.250.112, 2.20.250.104
Verbindungsaufbau zu download.java.net (download.java.net)|2.20.250.112|:80... verbunden. ### connected
HTTP-Anforderung gesendet, warte auf Antwort... 404 Not Found
2017-09-23 17:53:44 FEHLER 404: Not Found. ### 404
download failed
Oracle JDK 9 is NOT installed.
Is there a way to change the url, or doesn't the webupd8team's repo work anymore?
java.net site is closed now and web-upd8 repository cannot get JDK sources from there.
I suggest you to download JDK 9 from Oracle site and install it manually according to installation instructions

Eclipse won't start after Java update [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I updated Java and now Eclipse won't start, it says Java was started but returned exit code = 13. Eclipse was working just fine until this update. Does anyone know what to do?
you may have downloaded the incorrect version for you computer? as in a 64 bit/ 32 bit conflict.
I found a similar problem to yours on another stackoverflow thread.
Can't start Eclipse - Java was started but returned exit code=13
You can fix it by changing the directory of line "vm" in eclipse.ini to the version you have just installed.
Ex: I just updated my java to java 8 update 131 to java8 update 144
C:/Program Files/Java/jre1.8.0_131/bin
Change it to:
C:/Program Files/Java/jre1.8.0_144/bin
Note: On Windows, you can check your java in C:/Program Files/Java or C:/Program Files(x86)/Java depending on 64 or 32 bit installation.
re-install java jdk to solve the problem

I have trouble uninstalling Java 8 (MAC) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have installed Java 1.8.0_20 & I can't uninstall it. I have no Java folder in my Library so any other walkthroughs have been useless & every time I switch the preferred order it just sets back to normal as soon as I close Java preferences. I need like a terminal command or folder to go to manually delete it.
Yeah this is due to the fact that Oracle took no care now that they are owners of the Mac version (since 1.6). This is covered here.
Try these terminal commands:
sudo rm -rf /Library/Java/JavaVirtualMachines/jdk<version>.jdk
sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane
sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

Install Oracle JRE 1.6 on JDK 1.5 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have Oracle JDK and JRE 1.5 installed ubuntu LTS. I want to keep JDK 1.5 and install Oracle JRE as 1.6. please let me know the steps or any clear source where I can get this done
A nice way to do this is by using the webupd8 PPA
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer
To switch which version is used when you type java (or javac etc..) use sudo update-alternatives --config java (or javac of course)

Categories