title: Installing JNLP on Ubuntu for Open JDK 7
body: <p>How do I get JNLP working for OpenJDK 7 on a Ubuntu machine?</p>
  
  <p>I'm trying to get the source code linked to at <a href="http://www.bugaco.com/bioinf/clusterer/" rel="nofollow noreferrer">http://www.bugaco.com/bioinf/clusterer/</a> with the text "Download sources" to run on my machine.</p>
  
  <p>Currently, when I try running</p>
  
  <pre><code>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
  </code></pre>
  
  <p>it is giving me the error</p>
  
  <pre><code>./com/bugaco/ui/LoadBean.java:11: error: package javax.jnlp does not exist
  import javax.jnlp.FileOpenService;
                   ^
  </code></pre>
  
  <p>(and many other errors)</p>
  
  <p>which I assume indicates that I need to install JNLP, along with other packages I'll have to install when I get JNLP fixed.</p>
  
  <p>Based on Mike Clark's answer <a href="https://stackoverflow.com/a/12608844/38765">https://stackoverflow.com/a/12608844/38765</a>
  I assumed that "Demos and Samples" is the way to install JNLP for Open JDK 7.</p>
  
  <p>I'm on Ubuntu, so I'm trying to use the "Ubuntu way" to install it. I installed openjdk-7-demo , which describes itself as "Java runtime based on OpenJDK (demos and examples)".</p>
  
  <p>It's still giving the error described above. What have I done wrong, or forgotten to do?</p>
  
  <p>I tried browsing the tag wiki for java. The only non-video resource that looked relevant to me in "Beginners' resources" was "The Java Tutorials". The only link relevant from there was "Learning the Java Language". It had a section on packages, but that's only on how to create your own, rather than how to install other peoples' packages.</p>
  
  <p>I'm using Ubuntu 12.04 (precise) 64-bit, and Java 7</p>
  
  <pre><code>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)
  </code></pre>