Code Monkey home page Code Monkey logo

Comments (5)

mirkarlar avatar mirkarlar commented on June 20, 2024

made a bit of headway:

Instead of adding the VM option: --add-exports javafx.graphics/com.sun.glass.ui=ALL-UNNAMED
using --add-exports javafx.graphics/com.sun.glass.ui=tornadofx
seems to be working

IntelliJ RunConfiguration screenshot:
Screenshot_20211202_230158
g

from tornadofx.

SKeeneCode avatar SKeeneCode commented on June 20, 2024

Yes welcome to the Java module system rolls eyes.

You should probably apply these VM options via your build tool. My build gradle has this for example:

image

Most of them are there to make JFoenix work but I plan to replace it entirely with the newer MaterialFX.

from tornadofx.

SchweinchenFuntik avatar SchweinchenFuntik commented on June 20, 2024

you are using version 1.7.20, you need 2.0.0-SNAPSHOT.

1.7.20 - java8
2.0.0 - java11+

from tornadofx.

mirkarlar avatar mirkarlar commented on June 20, 2024

you are using version 1.7.20, you need 2.0.0-SNAPSHOT.

1.7.20 - java8 2.0.0 - java11+
Thnx for your reply.

Upgrading to 2.0.0 (SNAPSHOT) didn´t fix this problem.
Still upgrading fixed some other issues, and I'm quite happy with it.

The jvm options to loosen the module restrictions fixed the export errors.

Weird thing is
-add-exports javafx.graphics/com.sun.glass.ui=ALL-UNNAMED,
which should be more general, didnt work. Instead I had to use
--add-exports javafx.graphics/com.sun.glass.ui=tornadofx

For now I can work with that, but still makes me scratch my head....

from tornadofx.

mirkarlar avatar mirkarlar commented on June 20, 2024

made a bit of headway:

Instead of adding the VM option: --add-exports javafx.graphics/com.sun.glass.ui=ALL-UNNAMED
using --add-exports javafx.graphics/com.sun.glass.ui=tornadofx
seems to be working

IntelliJ RunConfiguration screenshot:
Screenshot_20211202_230158
g

from tornadofx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.