How to uninstall OpenJDK?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I don't want OpenJDK installed on my Ubuntu 13.04 system, but trying to uninstall the openjdk-7-jre yields the following message:
$ sudo apt-get purge openjdk-7-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gcj-4.7-base gcj-4.7-jre gcj-4.7-jre-headless gcj-4.7-jre-lib gcj-jre gcj-jre-headless icedtea-6-jre-cacao icedtea-6-jre-jamvm libgcj-common libgcj13 libgcj13-awt
openjdk-6-jre-headless openjdk-6-jre-lib
Suggested packages:
fastjar gcj-4.7-jdk gcj-jdk libgcj13-dbg sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts
ttf-bengali-fonts
The following packages will be REMOVED:
default-jre* icedtea-7-plugin* icedtea-netx* icedtea-plugin* libatk-wrapper-java* libatk-wrapper-java-jni* openjdk-7-jre*
The following NEW packages will be installed:
gcj-4.7-base gcj-4.7-jre gcj-4.7-jre-headless gcj-4.7-jre-lib gcj-jre gcj-jre-headless icedtea-6-jre-cacao icedtea-6-jre-jamvm libgcj-common libgcj13 libgcj13-awt
openjdk-6-jre-headless openjdk-6-jre-lib
0 upgraded, 13 newly installed, 7 to remove and 4 not upgraded.
Need to get 57,0 MB/57,2 MB of archives.
After this operation, 156 MB of additional disk space will be used.
Do you want to continue [Y/n]?
What do I need to do so that no new packages, of which I need none, will be installed when removing openjdk-7?
java uninstall openjdk
add a comment |
I don't want OpenJDK installed on my Ubuntu 13.04 system, but trying to uninstall the openjdk-7-jre yields the following message:
$ sudo apt-get purge openjdk-7-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gcj-4.7-base gcj-4.7-jre gcj-4.7-jre-headless gcj-4.7-jre-lib gcj-jre gcj-jre-headless icedtea-6-jre-cacao icedtea-6-jre-jamvm libgcj-common libgcj13 libgcj13-awt
openjdk-6-jre-headless openjdk-6-jre-lib
Suggested packages:
fastjar gcj-4.7-jdk gcj-jdk libgcj13-dbg sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts
ttf-bengali-fonts
The following packages will be REMOVED:
default-jre* icedtea-7-plugin* icedtea-netx* icedtea-plugin* libatk-wrapper-java* libatk-wrapper-java-jni* openjdk-7-jre*
The following NEW packages will be installed:
gcj-4.7-base gcj-4.7-jre gcj-4.7-jre-headless gcj-4.7-jre-lib gcj-jre gcj-jre-headless icedtea-6-jre-cacao icedtea-6-jre-jamvm libgcj-common libgcj13 libgcj13-awt
openjdk-6-jre-headless openjdk-6-jre-lib
0 upgraded, 13 newly installed, 7 to remove and 4 not upgraded.
Need to get 57,0 MB/57,2 MB of archives.
After this operation, 156 MB of additional disk space will be used.
Do you want to continue [Y/n]?
What do I need to do so that no new packages, of which I need none, will be installed when removing openjdk-7?
java uninstall openjdk
1
Take a look here: askubuntu.com/questions/84483/how-to-completely-uninstall-java
– kingmilo
Aug 21 '13 at 17:14
add a comment |
I don't want OpenJDK installed on my Ubuntu 13.04 system, but trying to uninstall the openjdk-7-jre yields the following message:
$ sudo apt-get purge openjdk-7-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gcj-4.7-base gcj-4.7-jre gcj-4.7-jre-headless gcj-4.7-jre-lib gcj-jre gcj-jre-headless icedtea-6-jre-cacao icedtea-6-jre-jamvm libgcj-common libgcj13 libgcj13-awt
openjdk-6-jre-headless openjdk-6-jre-lib
Suggested packages:
fastjar gcj-4.7-jdk gcj-jdk libgcj13-dbg sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts
ttf-bengali-fonts
The following packages will be REMOVED:
default-jre* icedtea-7-plugin* icedtea-netx* icedtea-plugin* libatk-wrapper-java* libatk-wrapper-java-jni* openjdk-7-jre*
The following NEW packages will be installed:
gcj-4.7-base gcj-4.7-jre gcj-4.7-jre-headless gcj-4.7-jre-lib gcj-jre gcj-jre-headless icedtea-6-jre-cacao icedtea-6-jre-jamvm libgcj-common libgcj13 libgcj13-awt
openjdk-6-jre-headless openjdk-6-jre-lib
0 upgraded, 13 newly installed, 7 to remove and 4 not upgraded.
Need to get 57,0 MB/57,2 MB of archives.
After this operation, 156 MB of additional disk space will be used.
Do you want to continue [Y/n]?
What do I need to do so that no new packages, of which I need none, will be installed when removing openjdk-7?
java uninstall openjdk
I don't want OpenJDK installed on my Ubuntu 13.04 system, but trying to uninstall the openjdk-7-jre yields the following message:
$ sudo apt-get purge openjdk-7-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gcj-4.7-base gcj-4.7-jre gcj-4.7-jre-headless gcj-4.7-jre-lib gcj-jre gcj-jre-headless icedtea-6-jre-cacao icedtea-6-jre-jamvm libgcj-common libgcj13 libgcj13-awt
openjdk-6-jre-headless openjdk-6-jre-lib
Suggested packages:
fastjar gcj-4.7-jdk gcj-jdk libgcj13-dbg sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts
ttf-bengali-fonts
The following packages will be REMOVED:
default-jre* icedtea-7-plugin* icedtea-netx* icedtea-plugin* libatk-wrapper-java* libatk-wrapper-java-jni* openjdk-7-jre*
The following NEW packages will be installed:
gcj-4.7-base gcj-4.7-jre gcj-4.7-jre-headless gcj-4.7-jre-lib gcj-jre gcj-jre-headless icedtea-6-jre-cacao icedtea-6-jre-jamvm libgcj-common libgcj13 libgcj13-awt
openjdk-6-jre-headless openjdk-6-jre-lib
0 upgraded, 13 newly installed, 7 to remove and 4 not upgraded.
Need to get 57,0 MB/57,2 MB of archives.
After this operation, 156 MB of additional disk space will be used.
Do you want to continue [Y/n]?
What do I need to do so that no new packages, of which I need none, will be installed when removing openjdk-7?
java uninstall openjdk
java uninstall openjdk
edited Aug 21 '13 at 16:52
SimplySimon
3,89072750
3,89072750
asked Aug 21 '13 at 16:38
FynnFynn
283135
283135
1
Take a look here: askubuntu.com/questions/84483/how-to-completely-uninstall-java
– kingmilo
Aug 21 '13 at 17:14
add a comment |
1
Take a look here: askubuntu.com/questions/84483/how-to-completely-uninstall-java
– kingmilo
Aug 21 '13 at 17:14
1
1
Take a look here: askubuntu.com/questions/84483/how-to-completely-uninstall-java
– kingmilo
Aug 21 '13 at 17:14
Take a look here: askubuntu.com/questions/84483/how-to-completely-uninstall-java
– kingmilo
Aug 21 '13 at 17:14
add a comment |
6 Answers
6
active
oldest
votes
You can use the following command:
sudo apt-get purge openjdk-8-jre openjdk-8-jre-headless openjdk-7-jre gcj-4.7-base gcj-4.7-jre openjdk-6-jre-headless
In this way no new packages will be installed. Here is my output for the above command:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'gcj-4.7-base' is not installed, so not removed
Package 'gcj-4.7-jre' is not installed, so not removed
Package 'openjdk-6-jre-headless' is not installed, so not removed
The following packages will be REMOVED:
default-jre* icedtea-7-plugin* icedtea-netx* libatk-wrapper-java*
libatk-wrapper-java-jni* libreoffice-base* minecraft-installer*
openjdk-7-jre*
0 upgraded, 0 newly installed, 8 to remove and 6 not upgraded.
After this operation, 10,3 MB disk space will be freed.
Do you want to continue [Y/n]? n
But, I don't suggest you to do this. In one day you will need for sure an OpenJDK (6 or 7).
4
If I really need a JDK, I'd prefer to use Oracle's JDK instead of OpenJDK.
– Fynn
Oct 3 '13 at 10:32
This didn't work for me.
– jgomo3
Jan 11 '14 at 19:32
@radu-rdeanu In order to do this, i had to install gcj before. When i tried your solution, apt complained that gcj was not installed. I installed gcj, and removed all those package you said. But after that, the java command was still there. So i must have a wired environment.
– jgomo3
Jan 16 '14 at 20:07
@jgomo3 As you can see from my output, this thing didn't happened for me. About what version ofgcjdo you speak?
– Radu Rădeanu
Jan 17 '14 at 5:58
add a comment |
Great question, I was wondering this myself.
I found that you can use the following to remove the openjdk-7-jre on Ubuntu 13.04:
sudo apt-get autoremove openjdk-7-jre
Press 'y' and then press enter when prompted to confirm this change. This should also clean up all the additional dependency libraries that were installed with it.
I also found you can use the following command to perform additional clean up:
sudo apt-get purge openjdk*
If you use the following command:
java -version
You should no longer see the openjdk-7-jre installed!
Hope this helps. :)
2
@jgomo3 Does this answer help you? Especially thesudo apt-get remove --purge openjdk*bit?
– landroni
Jan 15 '14 at 10:15
1
@landroni i have to test it. In order to do the radu-rdeanu solution, i had to install gcj before. That way i could "remove" it. I'll try this solution first uninstalling Oracle Java, second installing the openjdk and stuff, and last "autoremoving" it.
– jgomo3
Jan 16 '14 at 20:03
Let me know how you get on, remember if you're usingautoremoveyou need to specify the correct version of the openjdk, you might be running openjdk-6-jre. Additionally it's worth noting that if you're running multiple versions of the openjdk, thepurgecommand will remove all trace of them, so be careful using this depending on what you'd like to do.
– Raouf Aghrout
Jan 17 '14 at 8:38
2
sudo apt-get purge openjdk*Worked for me, but it also uninstalled my Jenkins installation (which depends on the openjdk 7 package) :(
– RobertG
Feb 27 '16 at 10:09
1
the first option removed 7 but installed 6, the second worked: sudo apt-get purge openjdk*
– Pablo Pazos
Aug 11 '17 at 19:13
|
show 2 more comments
Why this happens
This happens likely because another package on your system is depending on Java. While removing openjdk-7-jre, apt-get sees that if it uninstalls OpenJDK, some packages will have unmet dependencies. To solve this, it installs another package which provides Java.
To find out what is causing this, run these commands in a terminal:
packages=(default-jre default-jre-headless icedtea-6-plugin icedtea-7-plugin java-compiler java-jdk java-runtime java-runtime-headless java-sdk java-virtual-machine java2-jdk java2-runtime java2-runtime-headless java2-sdk java5-jdk java5-runtime java5-runtime-headless java5-sdk java6-jdk java6-runtime java6-runtime-headless java6-sdk java7-jdk java7-runtime java7-runtime-headless java7-sdk openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-7-jdk openjdk-7-jre openjdk-7-jre-headless oracle-java7-bin oracle-java7-fonts oracle-java7-jdk oracle-java7-jre oracle-java7-plugin sun-java6-bin sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-plugin)
for pkg in "${packages[@]}"; do
apt_cache_out="$(apt-cache --installed rdepends "$pkg" | grep -E '^ [| ]S')"
if (( $? == 0 )); then
echo -----------------------
echo "$pkg"
echo "$apt_cache_out"
fi
done
Example output (shortened):
-----------------------
openjdk-7-jre
|libreoffice-filter-mobiledev
|libreoffice
|libreoffice-writer
|libreoffice-base
|libreoffice-filter-mobiledev
|libreoffice
|libreoffice-writer
|libreoffice-base
This indicates that all the LibreOffice packages are depending on
openjdk-7-jre. As long as these packages are installed, OpenJDK cannot be uninstalled without installing an alternate Java automatically.
To remove openjdk-7-jre
If you want to remove openjdk-7-jre (without installing other packages), you will need to uninstall all packages which depend on it first.
From the example output, that will be:
sudo apt-get remove oracle-java7-installer libreoffice-filter-mobiledev libreoffice libreoffice-writer libreoffice-base libreoffice-filter-mobiledev libreoffice libreoffice-writer libreoffice-base
add a comment |
I notice you said you wanted to use Oracle's JDK. If you want to install Oracle's JDK instead, you can download that and extract it in the location of your choice.
Then you just use update-alternatives to tell your system where Java is installed. If you're not sure about the syntax of update-alternatives, you can use the front-end for it, galternatives.
For example... I use Oracle's JDK quite extensively here.
I extract it to /opt/java/.
Then, so all of Oracle Java's binaries are the primary utilities for Java-related stuff, I do the following with update-alternatives:
for j in `ls /opt/java/bin` ; do update-alternatives --install /usr/bin/"$j" "$j" /opt/java/bin/"$j" 1 ; done
This takes all of the Oracle Java utilities that you've previously extracted, and
gives them the first priority, in case you have other versions of Java installed. (since Ubuntu allows you to have multiple versions of the same utility installed)
add a comment |
Along with the rest of answers - have you checked your .bashrc file to make sure that JAVA_HOME environment is not there? Removing that line should do the trick in freeing your Ubuntu from openjdk. Like an example:
JAVA_HOME=/usr/local/java/jdk1.7.0_45
export PATH=$JAVA_HOME:$PATH
If you see anything like that, then delete these two lines and reboot.
add a comment |
I found, at least on Mint, that if I search the openjdk version (openjdk ) in the package manager, I can uninstall it through there.
Edit: You can also install Oracle's Java through the package manager as well.
New contributor
wyatt jackson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f335457%2fhow-to-uninstall-openjdk%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use the following command:
sudo apt-get purge openjdk-8-jre openjdk-8-jre-headless openjdk-7-jre gcj-4.7-base gcj-4.7-jre openjdk-6-jre-headless
In this way no new packages will be installed. Here is my output for the above command:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'gcj-4.7-base' is not installed, so not removed
Package 'gcj-4.7-jre' is not installed, so not removed
Package 'openjdk-6-jre-headless' is not installed, so not removed
The following packages will be REMOVED:
default-jre* icedtea-7-plugin* icedtea-netx* libatk-wrapper-java*
libatk-wrapper-java-jni* libreoffice-base* minecraft-installer*
openjdk-7-jre*
0 upgraded, 0 newly installed, 8 to remove and 6 not upgraded.
After this operation, 10,3 MB disk space will be freed.
Do you want to continue [Y/n]? n
But, I don't suggest you to do this. In one day you will need for sure an OpenJDK (6 or 7).
4
If I really need a JDK, I'd prefer to use Oracle's JDK instead of OpenJDK.
– Fynn
Oct 3 '13 at 10:32
This didn't work for me.
– jgomo3
Jan 11 '14 at 19:32
@radu-rdeanu In order to do this, i had to install gcj before. When i tried your solution, apt complained that gcj was not installed. I installed gcj, and removed all those package you said. But after that, the java command was still there. So i must have a wired environment.
– jgomo3
Jan 16 '14 at 20:07
@jgomo3 As you can see from my output, this thing didn't happened for me. About what version ofgcjdo you speak?
– Radu Rădeanu
Jan 17 '14 at 5:58
add a comment |
You can use the following command:
sudo apt-get purge openjdk-8-jre openjdk-8-jre-headless openjdk-7-jre gcj-4.7-base gcj-4.7-jre openjdk-6-jre-headless
In this way no new packages will be installed. Here is my output for the above command:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'gcj-4.7-base' is not installed, so not removed
Package 'gcj-4.7-jre' is not installed, so not removed
Package 'openjdk-6-jre-headless' is not installed, so not removed
The following packages will be REMOVED:
default-jre* icedtea-7-plugin* icedtea-netx* libatk-wrapper-java*
libatk-wrapper-java-jni* libreoffice-base* minecraft-installer*
openjdk-7-jre*
0 upgraded, 0 newly installed, 8 to remove and 6 not upgraded.
After this operation, 10,3 MB disk space will be freed.
Do you want to continue [Y/n]? n
But, I don't suggest you to do this. In one day you will need for sure an OpenJDK (6 or 7).
4
If I really need a JDK, I'd prefer to use Oracle's JDK instead of OpenJDK.
– Fynn
Oct 3 '13 at 10:32
This didn't work for me.
– jgomo3
Jan 11 '14 at 19:32
@radu-rdeanu In order to do this, i had to install gcj before. When i tried your solution, apt complained that gcj was not installed. I installed gcj, and removed all those package you said. But after that, the java command was still there. So i must have a wired environment.
– jgomo3
Jan 16 '14 at 20:07
@jgomo3 As you can see from my output, this thing didn't happened for me. About what version ofgcjdo you speak?
– Radu Rădeanu
Jan 17 '14 at 5:58
add a comment |
You can use the following command:
sudo apt-get purge openjdk-8-jre openjdk-8-jre-headless openjdk-7-jre gcj-4.7-base gcj-4.7-jre openjdk-6-jre-headless
In this way no new packages will be installed. Here is my output for the above command:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'gcj-4.7-base' is not installed, so not removed
Package 'gcj-4.7-jre' is not installed, so not removed
Package 'openjdk-6-jre-headless' is not installed, so not removed
The following packages will be REMOVED:
default-jre* icedtea-7-plugin* icedtea-netx* libatk-wrapper-java*
libatk-wrapper-java-jni* libreoffice-base* minecraft-installer*
openjdk-7-jre*
0 upgraded, 0 newly installed, 8 to remove and 6 not upgraded.
After this operation, 10,3 MB disk space will be freed.
Do you want to continue [Y/n]? n
But, I don't suggest you to do this. In one day you will need for sure an OpenJDK (6 or 7).
You can use the following command:
sudo apt-get purge openjdk-8-jre openjdk-8-jre-headless openjdk-7-jre gcj-4.7-base gcj-4.7-jre openjdk-6-jre-headless
In this way no new packages will be installed. Here is my output for the above command:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'gcj-4.7-base' is not installed, so not removed
Package 'gcj-4.7-jre' is not installed, so not removed
Package 'openjdk-6-jre-headless' is not installed, so not removed
The following packages will be REMOVED:
default-jre* icedtea-7-plugin* icedtea-netx* libatk-wrapper-java*
libatk-wrapper-java-jni* libreoffice-base* minecraft-installer*
openjdk-7-jre*
0 upgraded, 0 newly installed, 8 to remove and 6 not upgraded.
After this operation, 10,3 MB disk space will be freed.
Do you want to continue [Y/n]? n
But, I don't suggest you to do this. In one day you will need for sure an OpenJDK (6 or 7).
edited Mar 22 '17 at 10:48
expert
126114
126114
answered Aug 21 '13 at 17:22
Radu RădeanuRadu Rădeanu
120k35253328
120k35253328
4
If I really need a JDK, I'd prefer to use Oracle's JDK instead of OpenJDK.
– Fynn
Oct 3 '13 at 10:32
This didn't work for me.
– jgomo3
Jan 11 '14 at 19:32
@radu-rdeanu In order to do this, i had to install gcj before. When i tried your solution, apt complained that gcj was not installed. I installed gcj, and removed all those package you said. But after that, the java command was still there. So i must have a wired environment.
– jgomo3
Jan 16 '14 at 20:07
@jgomo3 As you can see from my output, this thing didn't happened for me. About what version ofgcjdo you speak?
– Radu Rădeanu
Jan 17 '14 at 5:58
add a comment |
4
If I really need a JDK, I'd prefer to use Oracle's JDK instead of OpenJDK.
– Fynn
Oct 3 '13 at 10:32
This didn't work for me.
– jgomo3
Jan 11 '14 at 19:32
@radu-rdeanu In order to do this, i had to install gcj before. When i tried your solution, apt complained that gcj was not installed. I installed gcj, and removed all those package you said. But after that, the java command was still there. So i must have a wired environment.
– jgomo3
Jan 16 '14 at 20:07
@jgomo3 As you can see from my output, this thing didn't happened for me. About what version ofgcjdo you speak?
– Radu Rădeanu
Jan 17 '14 at 5:58
4
4
If I really need a JDK, I'd prefer to use Oracle's JDK instead of OpenJDK.
– Fynn
Oct 3 '13 at 10:32
If I really need a JDK, I'd prefer to use Oracle's JDK instead of OpenJDK.
– Fynn
Oct 3 '13 at 10:32
This didn't work for me.
– jgomo3
Jan 11 '14 at 19:32
This didn't work for me.
– jgomo3
Jan 11 '14 at 19:32
@radu-rdeanu In order to do this, i had to install gcj before. When i tried your solution, apt complained that gcj was not installed. I installed gcj, and removed all those package you said. But after that, the java command was still there. So i must have a wired environment.
– jgomo3
Jan 16 '14 at 20:07
@radu-rdeanu In order to do this, i had to install gcj before. When i tried your solution, apt complained that gcj was not installed. I installed gcj, and removed all those package you said. But after that, the java command was still there. So i must have a wired environment.
– jgomo3
Jan 16 '14 at 20:07
@jgomo3 As you can see from my output, this thing didn't happened for me. About what version of
gcj do you speak?– Radu Rădeanu
Jan 17 '14 at 5:58
@jgomo3 As you can see from my output, this thing didn't happened for me. About what version of
gcj do you speak?– Radu Rădeanu
Jan 17 '14 at 5:58
add a comment |
Great question, I was wondering this myself.
I found that you can use the following to remove the openjdk-7-jre on Ubuntu 13.04:
sudo apt-get autoremove openjdk-7-jre
Press 'y' and then press enter when prompted to confirm this change. This should also clean up all the additional dependency libraries that were installed with it.
I also found you can use the following command to perform additional clean up:
sudo apt-get purge openjdk*
If you use the following command:
java -version
You should no longer see the openjdk-7-jre installed!
Hope this helps. :)
2
@jgomo3 Does this answer help you? Especially thesudo apt-get remove --purge openjdk*bit?
– landroni
Jan 15 '14 at 10:15
1
@landroni i have to test it. In order to do the radu-rdeanu solution, i had to install gcj before. That way i could "remove" it. I'll try this solution first uninstalling Oracle Java, second installing the openjdk and stuff, and last "autoremoving" it.
– jgomo3
Jan 16 '14 at 20:03
Let me know how you get on, remember if you're usingautoremoveyou need to specify the correct version of the openjdk, you might be running openjdk-6-jre. Additionally it's worth noting that if you're running multiple versions of the openjdk, thepurgecommand will remove all trace of them, so be careful using this depending on what you'd like to do.
– Raouf Aghrout
Jan 17 '14 at 8:38
2
sudo apt-get purge openjdk*Worked for me, but it also uninstalled my Jenkins installation (which depends on the openjdk 7 package) :(
– RobertG
Feb 27 '16 at 10:09
1
the first option removed 7 but installed 6, the second worked: sudo apt-get purge openjdk*
– Pablo Pazos
Aug 11 '17 at 19:13
|
show 2 more comments
Great question, I was wondering this myself.
I found that you can use the following to remove the openjdk-7-jre on Ubuntu 13.04:
sudo apt-get autoremove openjdk-7-jre
Press 'y' and then press enter when prompted to confirm this change. This should also clean up all the additional dependency libraries that were installed with it.
I also found you can use the following command to perform additional clean up:
sudo apt-get purge openjdk*
If you use the following command:
java -version
You should no longer see the openjdk-7-jre installed!
Hope this helps. :)
2
@jgomo3 Does this answer help you? Especially thesudo apt-get remove --purge openjdk*bit?
– landroni
Jan 15 '14 at 10:15
1
@landroni i have to test it. In order to do the radu-rdeanu solution, i had to install gcj before. That way i could "remove" it. I'll try this solution first uninstalling Oracle Java, second installing the openjdk and stuff, and last "autoremoving" it.
– jgomo3
Jan 16 '14 at 20:03
Let me know how you get on, remember if you're usingautoremoveyou need to specify the correct version of the openjdk, you might be running openjdk-6-jre. Additionally it's worth noting that if you're running multiple versions of the openjdk, thepurgecommand will remove all trace of them, so be careful using this depending on what you'd like to do.
– Raouf Aghrout
Jan 17 '14 at 8:38
2
sudo apt-get purge openjdk*Worked for me, but it also uninstalled my Jenkins installation (which depends on the openjdk 7 package) :(
– RobertG
Feb 27 '16 at 10:09
1
the first option removed 7 but installed 6, the second worked: sudo apt-get purge openjdk*
– Pablo Pazos
Aug 11 '17 at 19:13
|
show 2 more comments
Great question, I was wondering this myself.
I found that you can use the following to remove the openjdk-7-jre on Ubuntu 13.04:
sudo apt-get autoremove openjdk-7-jre
Press 'y' and then press enter when prompted to confirm this change. This should also clean up all the additional dependency libraries that were installed with it.
I also found you can use the following command to perform additional clean up:
sudo apt-get purge openjdk*
If you use the following command:
java -version
You should no longer see the openjdk-7-jre installed!
Hope this helps. :)
Great question, I was wondering this myself.
I found that you can use the following to remove the openjdk-7-jre on Ubuntu 13.04:
sudo apt-get autoremove openjdk-7-jre
Press 'y' and then press enter when prompted to confirm this change. This should also clean up all the additional dependency libraries that were installed with it.
I also found you can use the following command to perform additional clean up:
sudo apt-get purge openjdk*
If you use the following command:
java -version
You should no longer see the openjdk-7-jre installed!
Hope this helps. :)
edited Nov 21 '13 at 11:05
answered Nov 21 '13 at 11:00
Raouf AghroutRaouf Aghrout
721154
721154
2
@jgomo3 Does this answer help you? Especially thesudo apt-get remove --purge openjdk*bit?
– landroni
Jan 15 '14 at 10:15
1
@landroni i have to test it. In order to do the radu-rdeanu solution, i had to install gcj before. That way i could "remove" it. I'll try this solution first uninstalling Oracle Java, second installing the openjdk and stuff, and last "autoremoving" it.
– jgomo3
Jan 16 '14 at 20:03
Let me know how you get on, remember if you're usingautoremoveyou need to specify the correct version of the openjdk, you might be running openjdk-6-jre. Additionally it's worth noting that if you're running multiple versions of the openjdk, thepurgecommand will remove all trace of them, so be careful using this depending on what you'd like to do.
– Raouf Aghrout
Jan 17 '14 at 8:38
2
sudo apt-get purge openjdk*Worked for me, but it also uninstalled my Jenkins installation (which depends on the openjdk 7 package) :(
– RobertG
Feb 27 '16 at 10:09
1
the first option removed 7 but installed 6, the second worked: sudo apt-get purge openjdk*
– Pablo Pazos
Aug 11 '17 at 19:13
|
show 2 more comments
2
@jgomo3 Does this answer help you? Especially thesudo apt-get remove --purge openjdk*bit?
– landroni
Jan 15 '14 at 10:15
1
@landroni i have to test it. In order to do the radu-rdeanu solution, i had to install gcj before. That way i could "remove" it. I'll try this solution first uninstalling Oracle Java, second installing the openjdk and stuff, and last "autoremoving" it.
– jgomo3
Jan 16 '14 at 20:03
Let me know how you get on, remember if you're usingautoremoveyou need to specify the correct version of the openjdk, you might be running openjdk-6-jre. Additionally it's worth noting that if you're running multiple versions of the openjdk, thepurgecommand will remove all trace of them, so be careful using this depending on what you'd like to do.
– Raouf Aghrout
Jan 17 '14 at 8:38
2
sudo apt-get purge openjdk*Worked for me, but it also uninstalled my Jenkins installation (which depends on the openjdk 7 package) :(
– RobertG
Feb 27 '16 at 10:09
1
the first option removed 7 but installed 6, the second worked: sudo apt-get purge openjdk*
– Pablo Pazos
Aug 11 '17 at 19:13
2
2
@jgomo3 Does this answer help you? Especially the
sudo apt-get remove --purge openjdk* bit?– landroni
Jan 15 '14 at 10:15
@jgomo3 Does this answer help you? Especially the
sudo apt-get remove --purge openjdk* bit?– landroni
Jan 15 '14 at 10:15
1
1
@landroni i have to test it. In order to do the radu-rdeanu solution, i had to install gcj before. That way i could "remove" it. I'll try this solution first uninstalling Oracle Java, second installing the openjdk and stuff, and last "autoremoving" it.
– jgomo3
Jan 16 '14 at 20:03
@landroni i have to test it. In order to do the radu-rdeanu solution, i had to install gcj before. That way i could "remove" it. I'll try this solution first uninstalling Oracle Java, second installing the openjdk and stuff, and last "autoremoving" it.
– jgomo3
Jan 16 '14 at 20:03
Let me know how you get on, remember if you're using
autoremove you need to specify the correct version of the openjdk, you might be running openjdk-6-jre. Additionally it's worth noting that if you're running multiple versions of the openjdk, the purge command will remove all trace of them, so be careful using this depending on what you'd like to do.– Raouf Aghrout
Jan 17 '14 at 8:38
Let me know how you get on, remember if you're using
autoremove you need to specify the correct version of the openjdk, you might be running openjdk-6-jre. Additionally it's worth noting that if you're running multiple versions of the openjdk, the purge command will remove all trace of them, so be careful using this depending on what you'd like to do.– Raouf Aghrout
Jan 17 '14 at 8:38
2
2
sudo apt-get purge openjdk* Worked for me, but it also uninstalled my Jenkins installation (which depends on the openjdk 7 package) :(– RobertG
Feb 27 '16 at 10:09
sudo apt-get purge openjdk* Worked for me, but it also uninstalled my Jenkins installation (which depends on the openjdk 7 package) :(– RobertG
Feb 27 '16 at 10:09
1
1
the first option removed 7 but installed 6, the second worked: sudo apt-get purge openjdk*
– Pablo Pazos
Aug 11 '17 at 19:13
the first option removed 7 but installed 6, the second worked: sudo apt-get purge openjdk*
– Pablo Pazos
Aug 11 '17 at 19:13
|
show 2 more comments
Why this happens
This happens likely because another package on your system is depending on Java. While removing openjdk-7-jre, apt-get sees that if it uninstalls OpenJDK, some packages will have unmet dependencies. To solve this, it installs another package which provides Java.
To find out what is causing this, run these commands in a terminal:
packages=(default-jre default-jre-headless icedtea-6-plugin icedtea-7-plugin java-compiler java-jdk java-runtime java-runtime-headless java-sdk java-virtual-machine java2-jdk java2-runtime java2-runtime-headless java2-sdk java5-jdk java5-runtime java5-runtime-headless java5-sdk java6-jdk java6-runtime java6-runtime-headless java6-sdk java7-jdk java7-runtime java7-runtime-headless java7-sdk openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-7-jdk openjdk-7-jre openjdk-7-jre-headless oracle-java7-bin oracle-java7-fonts oracle-java7-jdk oracle-java7-jre oracle-java7-plugin sun-java6-bin sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-plugin)
for pkg in "${packages[@]}"; do
apt_cache_out="$(apt-cache --installed rdepends "$pkg" | grep -E '^ [| ]S')"
if (( $? == 0 )); then
echo -----------------------
echo "$pkg"
echo "$apt_cache_out"
fi
done
Example output (shortened):
-----------------------
openjdk-7-jre
|libreoffice-filter-mobiledev
|libreoffice
|libreoffice-writer
|libreoffice-base
|libreoffice-filter-mobiledev
|libreoffice
|libreoffice-writer
|libreoffice-base
This indicates that all the LibreOffice packages are depending on
openjdk-7-jre. As long as these packages are installed, OpenJDK cannot be uninstalled without installing an alternate Java automatically.
To remove openjdk-7-jre
If you want to remove openjdk-7-jre (without installing other packages), you will need to uninstall all packages which depend on it first.
From the example output, that will be:
sudo apt-get remove oracle-java7-installer libreoffice-filter-mobiledev libreoffice libreoffice-writer libreoffice-base libreoffice-filter-mobiledev libreoffice libreoffice-writer libreoffice-base
add a comment |
Why this happens
This happens likely because another package on your system is depending on Java. While removing openjdk-7-jre, apt-get sees that if it uninstalls OpenJDK, some packages will have unmet dependencies. To solve this, it installs another package which provides Java.
To find out what is causing this, run these commands in a terminal:
packages=(default-jre default-jre-headless icedtea-6-plugin icedtea-7-plugin java-compiler java-jdk java-runtime java-runtime-headless java-sdk java-virtual-machine java2-jdk java2-runtime java2-runtime-headless java2-sdk java5-jdk java5-runtime java5-runtime-headless java5-sdk java6-jdk java6-runtime java6-runtime-headless java6-sdk java7-jdk java7-runtime java7-runtime-headless java7-sdk openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-7-jdk openjdk-7-jre openjdk-7-jre-headless oracle-java7-bin oracle-java7-fonts oracle-java7-jdk oracle-java7-jre oracle-java7-plugin sun-java6-bin sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-plugin)
for pkg in "${packages[@]}"; do
apt_cache_out="$(apt-cache --installed rdepends "$pkg" | grep -E '^ [| ]S')"
if (( $? == 0 )); then
echo -----------------------
echo "$pkg"
echo "$apt_cache_out"
fi
done
Example output (shortened):
-----------------------
openjdk-7-jre
|libreoffice-filter-mobiledev
|libreoffice
|libreoffice-writer
|libreoffice-base
|libreoffice-filter-mobiledev
|libreoffice
|libreoffice-writer
|libreoffice-base
This indicates that all the LibreOffice packages are depending on
openjdk-7-jre. As long as these packages are installed, OpenJDK cannot be uninstalled without installing an alternate Java automatically.
To remove openjdk-7-jre
If you want to remove openjdk-7-jre (without installing other packages), you will need to uninstall all packages which depend on it first.
From the example output, that will be:
sudo apt-get remove oracle-java7-installer libreoffice-filter-mobiledev libreoffice libreoffice-writer libreoffice-base libreoffice-filter-mobiledev libreoffice libreoffice-writer libreoffice-base
add a comment |
Why this happens
This happens likely because another package on your system is depending on Java. While removing openjdk-7-jre, apt-get sees that if it uninstalls OpenJDK, some packages will have unmet dependencies. To solve this, it installs another package which provides Java.
To find out what is causing this, run these commands in a terminal:
packages=(default-jre default-jre-headless icedtea-6-plugin icedtea-7-plugin java-compiler java-jdk java-runtime java-runtime-headless java-sdk java-virtual-machine java2-jdk java2-runtime java2-runtime-headless java2-sdk java5-jdk java5-runtime java5-runtime-headless java5-sdk java6-jdk java6-runtime java6-runtime-headless java6-sdk java7-jdk java7-runtime java7-runtime-headless java7-sdk openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-7-jdk openjdk-7-jre openjdk-7-jre-headless oracle-java7-bin oracle-java7-fonts oracle-java7-jdk oracle-java7-jre oracle-java7-plugin sun-java6-bin sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-plugin)
for pkg in "${packages[@]}"; do
apt_cache_out="$(apt-cache --installed rdepends "$pkg" | grep -E '^ [| ]S')"
if (( $? == 0 )); then
echo -----------------------
echo "$pkg"
echo "$apt_cache_out"
fi
done
Example output (shortened):
-----------------------
openjdk-7-jre
|libreoffice-filter-mobiledev
|libreoffice
|libreoffice-writer
|libreoffice-base
|libreoffice-filter-mobiledev
|libreoffice
|libreoffice-writer
|libreoffice-base
This indicates that all the LibreOffice packages are depending on
openjdk-7-jre. As long as these packages are installed, OpenJDK cannot be uninstalled without installing an alternate Java automatically.
To remove openjdk-7-jre
If you want to remove openjdk-7-jre (without installing other packages), you will need to uninstall all packages which depend on it first.
From the example output, that will be:
sudo apt-get remove oracle-java7-installer libreoffice-filter-mobiledev libreoffice libreoffice-writer libreoffice-base libreoffice-filter-mobiledev libreoffice libreoffice-writer libreoffice-base
Why this happens
This happens likely because another package on your system is depending on Java. While removing openjdk-7-jre, apt-get sees that if it uninstalls OpenJDK, some packages will have unmet dependencies. To solve this, it installs another package which provides Java.
To find out what is causing this, run these commands in a terminal:
packages=(default-jre default-jre-headless icedtea-6-plugin icedtea-7-plugin java-compiler java-jdk java-runtime java-runtime-headless java-sdk java-virtual-machine java2-jdk java2-runtime java2-runtime-headless java2-sdk java5-jdk java5-runtime java5-runtime-headless java5-sdk java6-jdk java6-runtime java6-runtime-headless java6-sdk java7-jdk java7-runtime java7-runtime-headless java7-sdk openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-7-jdk openjdk-7-jre openjdk-7-jre-headless oracle-java7-bin oracle-java7-fonts oracle-java7-jdk oracle-java7-jre oracle-java7-plugin sun-java6-bin sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-plugin)
for pkg in "${packages[@]}"; do
apt_cache_out="$(apt-cache --installed rdepends "$pkg" | grep -E '^ [| ]S')"
if (( $? == 0 )); then
echo -----------------------
echo "$pkg"
echo "$apt_cache_out"
fi
done
Example output (shortened):
-----------------------
openjdk-7-jre
|libreoffice-filter-mobiledev
|libreoffice
|libreoffice-writer
|libreoffice-base
|libreoffice-filter-mobiledev
|libreoffice
|libreoffice-writer
|libreoffice-base
This indicates that all the LibreOffice packages are depending on
openjdk-7-jre. As long as these packages are installed, OpenJDK cannot be uninstalled without installing an alternate Java automatically.
To remove openjdk-7-jre
If you want to remove openjdk-7-jre (without installing other packages), you will need to uninstall all packages which depend on it first.
From the example output, that will be:
sudo apt-get remove oracle-java7-installer libreoffice-filter-mobiledev libreoffice libreoffice-writer libreoffice-base libreoffice-filter-mobiledev libreoffice libreoffice-writer libreoffice-base
edited Jan 18 '14 at 7:02
answered Jan 17 '14 at 21:31
kirikiri
19.4k1360106
19.4k1360106
add a comment |
add a comment |
I notice you said you wanted to use Oracle's JDK. If you want to install Oracle's JDK instead, you can download that and extract it in the location of your choice.
Then you just use update-alternatives to tell your system where Java is installed. If you're not sure about the syntax of update-alternatives, you can use the front-end for it, galternatives.
For example... I use Oracle's JDK quite extensively here.
I extract it to /opt/java/.
Then, so all of Oracle Java's binaries are the primary utilities for Java-related stuff, I do the following with update-alternatives:
for j in `ls /opt/java/bin` ; do update-alternatives --install /usr/bin/"$j" "$j" /opt/java/bin/"$j" 1 ; done
This takes all of the Oracle Java utilities that you've previously extracted, and
gives them the first priority, in case you have other versions of Java installed. (since Ubuntu allows you to have multiple versions of the same utility installed)
add a comment |
I notice you said you wanted to use Oracle's JDK. If you want to install Oracle's JDK instead, you can download that and extract it in the location of your choice.
Then you just use update-alternatives to tell your system where Java is installed. If you're not sure about the syntax of update-alternatives, you can use the front-end for it, galternatives.
For example... I use Oracle's JDK quite extensively here.
I extract it to /opt/java/.
Then, so all of Oracle Java's binaries are the primary utilities for Java-related stuff, I do the following with update-alternatives:
for j in `ls /opt/java/bin` ; do update-alternatives --install /usr/bin/"$j" "$j" /opt/java/bin/"$j" 1 ; done
This takes all of the Oracle Java utilities that you've previously extracted, and
gives them the first priority, in case you have other versions of Java installed. (since Ubuntu allows you to have multiple versions of the same utility installed)
add a comment |
I notice you said you wanted to use Oracle's JDK. If you want to install Oracle's JDK instead, you can download that and extract it in the location of your choice.
Then you just use update-alternatives to tell your system where Java is installed. If you're not sure about the syntax of update-alternatives, you can use the front-end for it, galternatives.
For example... I use Oracle's JDK quite extensively here.
I extract it to /opt/java/.
Then, so all of Oracle Java's binaries are the primary utilities for Java-related stuff, I do the following with update-alternatives:
for j in `ls /opt/java/bin` ; do update-alternatives --install /usr/bin/"$j" "$j" /opt/java/bin/"$j" 1 ; done
This takes all of the Oracle Java utilities that you've previously extracted, and
gives them the first priority, in case you have other versions of Java installed. (since Ubuntu allows you to have multiple versions of the same utility installed)
I notice you said you wanted to use Oracle's JDK. If you want to install Oracle's JDK instead, you can download that and extract it in the location of your choice.
Then you just use update-alternatives to tell your system where Java is installed. If you're not sure about the syntax of update-alternatives, you can use the front-end for it, galternatives.
For example... I use Oracle's JDK quite extensively here.
I extract it to /opt/java/.
Then, so all of Oracle Java's binaries are the primary utilities for Java-related stuff, I do the following with update-alternatives:
for j in `ls /opt/java/bin` ; do update-alternatives --install /usr/bin/"$j" "$j" /opt/java/bin/"$j" 1 ; done
This takes all of the Oracle Java utilities that you've previously extracted, and
gives them the first priority, in case you have other versions of Java installed. (since Ubuntu allows you to have multiple versions of the same utility installed)
answered Jan 13 '14 at 14:33
longviewbitslongviewbits
394
394
add a comment |
add a comment |
Along with the rest of answers - have you checked your .bashrc file to make sure that JAVA_HOME environment is not there? Removing that line should do the trick in freeing your Ubuntu from openjdk. Like an example:
JAVA_HOME=/usr/local/java/jdk1.7.0_45
export PATH=$JAVA_HOME:$PATH
If you see anything like that, then delete these two lines and reboot.
add a comment |
Along with the rest of answers - have you checked your .bashrc file to make sure that JAVA_HOME environment is not there? Removing that line should do the trick in freeing your Ubuntu from openjdk. Like an example:
JAVA_HOME=/usr/local/java/jdk1.7.0_45
export PATH=$JAVA_HOME:$PATH
If you see anything like that, then delete these two lines and reboot.
add a comment |
Along with the rest of answers - have you checked your .bashrc file to make sure that JAVA_HOME environment is not there? Removing that line should do the trick in freeing your Ubuntu from openjdk. Like an example:
JAVA_HOME=/usr/local/java/jdk1.7.0_45
export PATH=$JAVA_HOME:$PATH
If you see anything like that, then delete these two lines and reboot.
Along with the rest of answers - have you checked your .bashrc file to make sure that JAVA_HOME environment is not there? Removing that line should do the trick in freeing your Ubuntu from openjdk. Like an example:
JAVA_HOME=/usr/local/java/jdk1.7.0_45
export PATH=$JAVA_HOME:$PATH
If you see anything like that, then delete these two lines and reboot.
answered Jan 11 '14 at 19:53
FaronFaron
1,103914
1,103914
add a comment |
add a comment |
I found, at least on Mint, that if I search the openjdk version (openjdk ) in the package manager, I can uninstall it through there.
Edit: You can also install Oracle's Java through the package manager as well.
New contributor
wyatt jackson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I found, at least on Mint, that if I search the openjdk version (openjdk ) in the package manager, I can uninstall it through there.
Edit: You can also install Oracle's Java through the package manager as well.
New contributor
wyatt jackson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I found, at least on Mint, that if I search the openjdk version (openjdk ) in the package manager, I can uninstall it through there.
Edit: You can also install Oracle's Java through the package manager as well.
New contributor
wyatt jackson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I found, at least on Mint, that if I search the openjdk version (openjdk ) in the package manager, I can uninstall it through there.
Edit: You can also install Oracle's Java through the package manager as well.
New contributor
wyatt jackson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
wyatt jackson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 46 mins ago
wyatt jacksonwyatt jackson
1
1
New contributor
wyatt jackson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
wyatt jackson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
wyatt jackson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f335457%2fhow-to-uninstall-openjdk%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Take a look here: askubuntu.com/questions/84483/how-to-completely-uninstall-java
– kingmilo
Aug 21 '13 at 17:14