http://www.raspberrypi.org/forum/viewtopic.php?f=81&t=70683

      by daveburnett ยป Thu Feb 27, 2014 3:26 am

      I've setup a RPi with a touchscreen to run JavaFX apps, but when I launch the JAR file the UX for the FX app never appears onscreen.

      Here's how I am launching JARs on the RPi that compile and run successfully on my dev machine:

      java -jar helloworld.jar

      I get the same experience if I launch the JAR this way (even though this seems unnecessary with the current java build):

      java -Djavafx.platform=eglfb -jar helloworld.jar

      Here's the summary of my environment:
      I'm developing using NetBeans 8.0 (beta) on OSX 10.9
      I'm using the 1.8.0-b128 (Jan 31, 2014) build of the JDK on both my dev machine and on the RPi
      The RPi is running 2014-01-07-wheezy-raspbian
      The install of raspbian is unmodified, with only netatalk and the new JDK added.
      The monitor is set to 1280x720 in config.txt, but I'd rather run it at its native resolution, 1600x900 (the monitor is a Dell 2104T, FWIW)
      I also have set the config.txt parameter for hdmi_force_hotplug to 1

            kselle Lisa Selle (Inactive)
            dblaukop Daniel Blaukopf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: