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
I want to run my Tomcat with Java 7 but all I found about configuring it doesn't work. The management interface of Tomcat shows 1.6.0_24-b24 as Java version.
How can we set JAVA_HOME environment variable for OpenJDK?
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
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-
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 trying to set my env as per http://askubuntu.com/a/175547/45156 :
thufir@dur:~/apache-james-3.0-beta4/bin$
thufir@dur:~/apache-james-3.0-beta4/bin$ ./james-cli.sh -h localhost -p 9999 adddomain mydomain.tld
Error: JAVA_HOME is not defined correctly.
We cannot execute /usr/lib/jvm/java-6-openjdk-common/bin/java
thufir@dur:~/apache-james-3.0-beta4/bin$
thufir@dur:~/apache-james-3.0-beta4/bi
As the title says, I was trying to install OpenJDK 6 Runtime on Ubuntu 12.04, but I'm getting this error:
"Package dependencies cannot be resolved.
This error could be caused by required additional software packages which are missing or not installable.
I'm creating a Vagrantfile that uses chef solo to install OpenJDK on Ubuntu 12.04. Is there a way to specify which specific package of OpenJDK is installed? This way I can be sure I'm consistent across multiple installs.