Anybody solve this error? I'm trying to run a Java application on Ubuntu, and I got this error:
$ javaws http://192.168.1.211:7777/forms/frmservlet/config=mmcs selected jre: /usr/lib/jvm/default-java WARNING: package javax.jnlp not in java.desktop
I currently have the jre 7 and need to upgrade to 8 on ubuntu 1404. I need only JRE upgraded to 8 for demo purpose. Could you please guide me on this?
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.14.04.1)
OpenJDK Server VM (build 24.79-b02, mixed mode)
I have been trying to get Java for the past day now. I followed several tutorials but I keep getting the same error. After I put in tar -xvf jre-7u4-linux-i586.tar.gz
it says Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
I have a 64 bit system so I doubt that's the problem. The JDK installed perfectly, but I'm lost as to why the JRE wont work...
I only recently discovered the different JVM's on the wiki page and thought I'd start tinkering. Its been difficult to find documentation on how to configure Java on Ubuntu though.
Lets say I wanted to change the JRE or JDK that I'm using, I could crack open a terminal and say
sudo update-alternatives --config java
And then pick from one of the installed versions.
If I'm understanding JVM's right (which I may very well be not), You can configure the openJDK to use alternative JVM's (Eg JAMVM) and run it as such
jamvm -jar foo.jar
2 questions,
1: Do i have the concept of a JVM right? As in, is this possible?
2: If so how do i configure the JVM and switch the default to a JVM of my choosing?