I have ubuntu 12.04.1 nad running java 6.
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 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
The $CLASSPATH variable is not set by default in f17.
What path should I give in my .bash_profile for this variable?
I have the following packages installed:
Code:
$ java -version
java version "1.7.0_03-icedtea"
OpenJDK Runtime Environment (fedora-2.2.1.fc17.8-x86_64)
OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode)
My requirement is to install a jar for global run
I am not sure if my question is more related about Ubuntu or Java, so pardon me!
I am trying to compile a java program but I get the following error:
package javax.comm does not exist
I have downloaded the required package comm.jar but I do not know how/where should I install/copy this file.
I read somewhere that this should be in CLASSPATH folder but I dont have this folder.
This is what I
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 recently installed Ubuntu 12.10, and I just now realized I haven't installed Java on it.
When I was going to, I saw that I already have java installed.
java -version gives me:
OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.10)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
Yet I can't see any applets in Firefox. What's the problem?
I want to play this java simulation: http://www.compadre.org/OSP/items/detail.cfm?ID=9640 in java 3d mode on a linux (ubuntu) system. But it doesn't work.
If I switch to java 3d-mode it complains that java 3d is not installed. sudo aptitude install libjava3d-java didn't help.
Then I did a right click in this java app and selected Diagnostics-> About Java 3D.
Hello, the default java installation is openJDK.
/usr/bin/java -> /etc/alternatives/java
/etc/alternatives/java -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
I want to install JDK 1.6, and executed this command:
Code:
alternatives --install /usr/bin/java java /usr/lib/java/jdk1.6.0_45/bin/java 20000
But the symbolic link does change at all. What might be wrong?