I have trouble uninstalling Java 8 (MAC) [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 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

Related

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

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.

How to uninstall JDK 8 (8u73) on Linux? [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 6 years ago.
Improve this question
I installed the JDK 8 update 73 together with Netbeans to play around with it. The whole thing was pretty cumbersome so I decided to uninstall them both and went back to Brackets.
For Netbeans it was like a walk in the park with its already provided uninstaller packet ".sh" in the directory.
However, with JDK, there seems to be no freaking way for me to rid of this thing. I searched for anything "jdk" in Software Manager and removed everything I saw in there. I also digged into the usr/lib/jvm to manually delete any leftover folders. But, as soon as I ran the installer packet ".sh" it told me that JDK 8 update 73 was still already installed....
Can you guys please help me remove this completely??? Many thanks!!
PS: I'm using Linux Mint Cinnamon 64-bit.
Try this to find files:
sudo find /usr/ -name "*jdk*"
sudo find /opt/ -name "*jdk*"
sudo find /etc/ -name "*jdk*"
Now if that doesn't find files, try with another keyword like "java".
And if that doesn't work then the installer may be checking for defined variables like $JAVA_HOME, you can check if it's defined by doing:
echo $JAVA_HOME
if it prints a path, then it's set and you need to unset it. See the following page for a reference:
https://help.ubuntu.com/community/EnvironmentVariables
Go to synaptic manager or software center and remove jdk. If it worked pls reply.
I think JDK placed in /usr/lib/jvm/jdk1.8.xxx or something like there.
It's better to install separately JDK and Netbeans.
My favourite way to install JDK in Mint (I'm using Linux Mint 17.3) described here.
I wonder if you can remove it from:
Control Panel of Windows > Add/Remove Programs > Choose Java SDK
you want to remove

install JDK8 in ubuntu 14.04 [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 want to start programming in java and i am using ubuntu 14.04, i downlaoaed
jdk-8u20-linux-x64.tar.gz
and in oracle website there is a command to install it, it is the command
% tar zxvf jdk-8uversion-linux-x64.tar.gz
in terminal i got this
bash: fg: %: no such job
anyone help me to intall the JDK.
Add the webupd8 ppa, and install from that -
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Then
java -version
should show you using Oracle Java 8. If not, or if you want to use a different version - run update-java-alternatives with something like,
sudo update-java-alternatives -s java-8-oracle
or
sudo update-java-alternatives -s java-7-oracle
As appropriate.
Debian way (whereas Ubuntu is Debian-baseD) of doing it is through packages.
So it is highly preferred to make a deb package.
Here is how:
sudo apt-get install java-package
make-jpkg jdk-8u20-linux-x64.tar.gz
sudo dpkg -i oracle-java8-jdk_8u20_amd64.deb
Maybe there is already some PPA already doing it for you, but better trust no-one and do it for yourself ;-)

JRE/java command not found [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'm trying to install JRE on Ubuntu 13.10. I followed this guide. When I run "java -version" it says "command not found"...
This is the result of "sudo find / -name java"
/var/lib/dpkg/alternatives/java
/usr/lib/jvm/java-7-oracle/bin/java
/usr/lib/jvm/java-7-oracle/jre/bin/java
/usr/lib/ure/share/java
/usr/local/java
/usr/local/java/jre1.7.0_51/bin/java
/usr/bin/java
/usr/java
Basically command not found happens when you didn't set up the PATH of installed java.
This guide here covers more about how to install java on a ubuntu machine completely, but here I'm just going to present how to setup your java runnable:
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jre1.7.0_51/bin/java" 1
sudo chmod a+x /usr/bin/java
and then
sudo update-alternatives --config java
Choose the one that has /usr/local/java/jre1.7.0_51/bin/java in the options.
You need to set your Java bin full path /jre1.7.0_51/bin to the PATH variable in your Shell window.
Like this
export PATH:$PATH:/jre1.7.0_51/bin
You can check the existing PATH by typing echo $PATH in your Shell window.

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