running java on linux server
<p>I would like to run a jar file extracted from my java project to be run on a Linux server I connect through SSH Tunneling. There are few problems, first there is something wrong with the Display: I get the error </p>

<pre><code>No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
    at java.awt.Window.&lt;init&gt;(Window.java:437)
    at java.awt.Frame.&lt;init&gt;(Frame.java:419)
    at java.awt.Frame.&lt;init&gt;(Frame.java:384)
    at javax.swing.JFrame.&lt;init&gt;(JFrame.java:174)
    at random_v2.v2Frame.&lt;init&gt;(v2Frame.java:127)
    at random_v2.Wrapper.main(Wrapper.java:25)
</code></pre>

<p>and second is that I am not sure if I have to install other applications as well. In my code, the java program needs to get run other applications like weka, do I have to install weka with the same directory name and specs that is in my mac? 
I appreciate your help in advance. 
Best wishes</p>
