Install JNLP on Ubuntu for Open JDK 7

How to get JNLP running on OpenJDK 7 on an Ubuntu machine?

I am trying to get the source code associated with http://www.bugaco.com/bioinf/clusterer/ with the text "Download Sources" to run on my machine.

Currently, when I try to run

javac -cp ".:l2fprod-common-all-7.3.jar:jfreechart-1.0.17/lib/jfreechart-1.0.17.jar" com/bugaco/mioritic/impl/module/project/Main.java

he gives me an error

./com/bugaco/ui/LoadBean.java:11: error: package javax.jnlp does not exist
import javax.jnlp.FileOpenService;
                 ^

(and many other errors)

which I assume indicates that I need to install JNLP along with other packages that I will have to install when I receive JNLP.

Based on Mike Clark’s answer https://stackoverflow.com/a/3126263/2126322#2123902 I suggested that "Demos and Samples" is a way to install JNLP for Open JDK 7.

Ubuntu, " Ubuntu" . openjdk-7-demo, "Java runtime, OpenJDK ( )".

, . ?

wiki- java. , , " ", " Java". , , " Java". , , , .

Ubuntu 12.04 () 64- Java 7

java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1~0.12.04.2)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
+4
2

JNLP OpenSDK, JJLP IcedTea.

Ubuntu "icedtea-netx".

, , /usr/share/icedtea-web/.

+5

$javaws xxxxx.jnlp.
:

(open-jdk-7 + Ubuntu 14.04)
-1

Source: https://habr.com/ru/post/1542421/


All Articles