I searched askubuntu and tried the suggestions but failed .I try this question:How to completely uninstall/reinstall Java
1.I run sudo apt-cache search openjdk get the following:
openjdk-6-dbg - Java runtime based on OpenJDK (debugging symbols)
openjdk-6-demo - Java runtime based on OpenJDK (demos and examples)
openjdk-6-doc - OpenJDK Development Kit (JDK) documentation
openjdk-6-jdk - OpenJDK D
I have recently installed openjdk just to try out writing some java application
$ dpkg -l | grep jdk
ii openjdk-7-jdk 7u7-2.3.2a-0ubuntu0.12.04.1 OpenJDK Development Kit (JDK)
ii openjdk-7-jre 7u7-2.3.2a-0ubuntu0.12.04.1 OpenJDK Java runtime, using Hotspot JIT
ii openjdk-7-jre-headless 7u7-2.3.2a-0ubuntu
I'm new to Java development under Ubuntu. When I typed javac in the terminal, it prompted me to install OpenJDK and a bunch of other JDKs. I want to know if there is any difference between OpenJDK 7 and Oracle's JDK 7. Are they basically the same? Thanks.
Due to the new Java license, Oracle JDK was removed from Ubuntu repository and it doesn’t be hosted in the PPA.
If you want to use Oracle Java instead of OpenJDK Java Runtime in Ubuntu.
I got a warning message:
jvm uses the client vm, make sure to run java with the server vm for best performance by adding -server to the command line
In fact, when i run java -version i get:
OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.3.2a-0ubuntu0.12.04.1)
OpenJDK Client VM (build 23.2-b09, mixed mode, sharing)
How does one go about and change OpenJDK's defaults to always start un
Heya,
How do I swap sun java for openjdk on OpenSuse 11.3 64-bit?
I'd like to do this as I've often encountered problems with OpenJDK. I need to have full java support in my computer.
Best regards,
Daqar
I recently installed Sun's Java because of performance issues running Minecraft.
When I try to remove the OpenJDK packages by
sudo apt-get purge openjdk*
however, the JDownloader package is being removed as well.
If I try to remove all OpenJDK-7 packages one by one, OpenJDK-6 is being installed instead.
IMHO there should be a way to satisfy JDownloader's dependencies for a Java runtime environ
Ubuntu Server Lucid (10.04) works perfect on my good old i586, but it lacks the CMOV instruction required for the openjdk-6-jdk (6b20-0ubuntu1 ~ 01.09.10-10.04.3), this "bug" been fixed in version 1.10 of OpenJDK (http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2011-March/013371....)
Is there an way to install (or repack/recompile) openjdk-6-jdk (6b22-1.10.4-0ubuntu1~11.04.2) for Lucid?
O
Setting up openjdk-7-jre-headless:i386 (7u9-2.3.3-0ubuntu1~12.10.1) ...
update-alternatives: error: alternative path /usr/lib/jvm/java-7-openjdk-i386/jre/lib/jexec doesn't exist
dpkg: error processing openjdk-7-jre-headless:i386 (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of openjdk-7-jre:i386:
openjdk-