Monocle in 8u25
hastebrot at gmail.com
Tue Nov 4 18:23:13 UTC 2014
I ran a simple click test with
"-Dglass.platform=Monocle -Dmonocle.platform=Headless -Dprism.order=sw"
and the GlassRobot on Windows 7 with Java 8u20 and can confirm that the
tests ran headless and clicked on an invisible table row. I also could
browse the Monocle source code within IntelliJ IDEA.
However on Java 8u25 the same test will fail with
Failed to load Glass factory class
C:\Program Files\Java\jdk1.8.0_20\bin>java -version
java version "1.8.0_20-ea"
Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b05)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b05, mixed mode)
On Tue, Nov 4, 2014 at 6:51 PM, Benjamin Gudehus <hastebrot at gmail.com>
> I see. Didn't know that. Thanks for the quick response.
> Users from the TestFX project are interested in headless testing (e.g. on
> Windows with Jenkins). There was a blog post  a while back, which
> explained how to use TestFX and Java 8 to run headless tests. I've never
> tried this myself, but recently added adapters for GlassRobot and the
> JavaFX event robot to TestFX in order to allow headless testing.
> On Tue, Nov 4, 2014 at 6:43 PM, Kevin Rushforth <
> kevin.rushforth at oracle.com> wrote:
>> Monocle is not included in any 8u release on desktop platforms (Windows,
>> Linux, Mac).
>> -- Kevin
>> Benjamin Gudehus wrote:
>>> I noticed `com.sun.glass.ui.monocle.MonoclePlatformFactory` is missing
>>> `jfxrt.jar` at
>>> least in the Windows and Linux builds of Java 8u25, although it is
>>> in 8u20.
>>> Is there any specific reason why Monocle is not included? Is there a way
>>> use Monocle
>>> in 8u25?
>>> (Crosspost from: https://community.oracle.com/message/12680634#12680634)
More information about the openjfx-dev