The remote Virtual Console relies on the Java Runtime Environment (JRE), before opening the link through the browser, the system must install the JRE environment, the remote management console is actually a Java program, open the appropriate Web site will download a JNLP (Java Network Load Protocol) file, Only the program running this JNLP file can be remotely controlled, and the implementation of the JRE on Linux can be done through the OPENJDK JRE or the Oracle Java JRE.
First, OpenJDK
OPENJDK is an open source implementation of the GPL-licensed Java Platform (gpl-licensed), which has been released for more than six years. From the moment of release, the community of Java communities began to work hard to adapt to the new Open Source Code Foundation (code-base).
1, production to see whether the Linxu system installed OPENJDK
opensuse:~ # Java-version
OPENJDK Version "1.8.0_151"
OpenJDK Runtime Environment (IcedTea 3.6.0) (Build 1.8.0_151-b12 suse-18.1-x86_64)
OpenJDK 64-bit Server VM (build 25.151-b12, Mixed mode)
opensuse:~ #
The above information can be used to know that the 1.8.0_151 version of the system is installed OPENJRE
2, if not installed by the following command installation:
opensuse:~ # Zypper Install JAVA-1_8_0-OPENJDK
3. Add Browser plugin icedtea Java Web Start (alternative to Javaws)
opensuse:~ # Zypper Install Java-1_8_0-openjdk-plugin
Through the above settings, you can run the Java program directly through the Firefox browser for remote management.
4, Opera Chromium browser may not be associated with this plugin, no relationship to open this link will automatically download a jnlp file, save him to the specified directory, through the Javaws command to run.
Example: The specified directory is the/HOME/PIPCI/DOWNLOADS/JNLP file for the KVM.JNLP command as follows:
Opensuse:/home/pipci/download # javaws KVM.JNLP #这种方式跟通过浏览器打开是一样的, just trouble dot, via browser plugin is also called javaws here command.
Second, Oracle Java
1, first to install the Oracle Java (JRE) installation method before the article has been written, here does not tell.
Link http://www.cnblogs.com/pipci/p/8618493.html
First create the Javaws program desktop shortcut,
New menu, edit application, right-click Program Launcher, General name Description The absolute path of the custom command input command
/usr/java/jre1.8.0_161/bin/javaws
Save when new is finished.
What do you want Firefox to do with this file when you open the link via Firefox in the pop-up tab? Open the Javaws to select the new add-on.
2, Opera Chromium browser may not be associated with this plugin, no relationship to open this link will automatically download a jnlp file, save him to the specified directory, through the Javaws command to run.
Example: The specified directory is the/HOME/PIPCI/DOWNLOADS/JNLP file for the KVM.JNLP command as follows:
Opensuse:/home/pipci/download # javaws KVM.JNLP #这种方式跟通过浏览器打开是一样的, just trouble dot, via browser plugin is also called Javaws this program.
Third, if there are two versions of the Java program in the system, you can choose their own plug-ins, or through the absolute path program to run (environment variables can only specify one, the other will use the program absolute path).
OpenSUSE Leap 42.3 executes Java applications directly via Firefox Opera Chromium browser (opens Java JNLP file) for remote management at the server remote Virtual Console