title: ui4j library can not run on ubuntu VM with out a browser
body: <p>I created a scraping program in java using the ui4j library, but it turns out that I have to run it on a VM where a browser is not present. </p>
  
  <p>Is there a way around it? Do  I have to install a browser? </p>
  
  <p>if yes do I need a proper one or a text based browser can do? (I don't think so, but i am asking just in case.)</p>
  
  <p>Thanks, Ilias</p>
  
  <p>EDIT:</p>
  
  <p>This is the error i am getting from the VM. From the line saying Unable to open DISPLAY, i assumed there was a problem with the browser. What might b the problem then?</p>
  
  <pre><code>Exception in thread "Thread-1" java.lang.UnsupportedOperationException: Unable to open DISPLAY
          at com.sun.glass.ui.gtk.GtkApplication.&lt;init&gt;(GtkApplication.java:68)
          at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatform Factory.java:41)
          at com.sun.glass.ui.Application.run(Application.java:146)
          at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java: 263)
          at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:211)
          at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675)
          at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:695)
          at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$152(LauncherImpl.java:182)
          at com.sun.javafx.application.LauncherImpl$$Lambda$29/1893654604.run(Unknown Source)
          at java.lang.Thread.run(Thread.java:745)
  </code></pre>