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.
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.
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?
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 newly started using linux mint (linux at all).
I have installed two jre versions on it. One openjdk and another oracle jdk.
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've created a package for my application that depends on openjdk-7-jre, problem is I also need to ensure it's launched with Java 7 (chances are Java 6 is still the default.) At present I have
Exec=java -jar Application.jar
...which will obviously just take the default Java install.
Currently I have these installed on my Scientific Linux 6.3:
[root@localhost ~]# rpm -qa | egrep -i 'java|jre'
java-1.7.0-openjdk-1.7.0.9-2.3.7.1.el6_3.x86_64
java-1.6.0-openjdk-1.6.0.0-1.56.1.11.8.el6_3.x86_64
tzdata-java-2012j-1.el6.noarch
[root@localhost ~]#
Do I need to remove then to be safe from the recent Java vulnerabilities? (If I try to remove the java-1.6.0-openjdk..
I was desperately trying to get tomcat running, but sometimes it just stopped responding.
A couple of hours later, i just typed in java -version and about one of ten times it stucked too.
$ java -version
java version "1.7.0_09"
OpenJDK Runtime Environment (IcedTea7 2.3.3) (7u9-2.3.3-0ubuntu1~12.04.1)
OpenJDK Client VM (build 23.2-b09, mixed mode, sharing)
I have no idea, why this sometimes work