Skip to content

GMapsFX application with Java 11 immediately exits #185

@jdsmithsos

Description

@jdsmithsos

I have been struggling with this for days now.
I successfully upgraded to Java 10 using GMapsFX 2.12.0.
When I upgrade to Java 11, the application immediately exits.
I have debugged this in NetBeans with my application, and found that a ClassNotFoundException is being thrown by the class loader, because the com.sun.webkit.MainThread class cannot be found.

I have tested the upgrade with the Directions example application, and the same thing happens with Java 11.

This combination works: Java 10, GMapsFX 2.12.0, OpenJFX 12.0.1.
This combination does NOT work: Java 11, GMapsFX 2.12.0, OpenJFX 12.0.1.

I even upgraded a copy of GMapsFX to Java 11, and built Java 11 binaries, but that didn't work either.

I am at a loss.
Has anybody solved this problem by project dependencies?
Is there a known workaround/configuration to get GMapsFX to work with Java 11?
Is this a known problem that is planned to be fixed in the next release of GMapsFX?

Thanks in advance for any help that anybody can provide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions