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?
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 got problems with sound output of java programs, which usually try to hog /dev/dsp, using pulseaudio and openjdk 7.Some rare java apps' sound methods surprisingly do work. Others (which the majority of java programs seem to use) do not.
I am developing android application for video streaming using existing source of SPYDROID application.Link
This application have its own http server.What i need to authenticate user before accessing url of server.
The server code is :-
package net.majorkernelpanic.http;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileN
I've got java-6-openjdk and java-7-openjdk running on Natty (11.04) on one machine and successfully toggle between them using update-alternatives --config java (or javac).
For some reason this doesn't seem to work on a second machine of identical spec.
For normal development I'm using the 64-bit VM which comes when I install the Java development kit (OpenJDK) with the package manager.
But there are some Java applications (containing native libraries, I suppose) which don't work on a 64 bit Java VM.
I have newly started using linux mint (linux at all).
I have installed two jre versions on it. One openjdk and another oracle jdk.
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.