question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to use WorkbenchFX as a Java 11 module

See original GitHub issue

I am trying to set up a new project with WorkbenchFX and to use modules right from the start. I use Intellij with Gradle.

  1. Is it correct that the modularized version of WorkbenchFX is currently not in a public repository?
  2. To build it, is the best choice at the moment branch fixjava11 (by diff-ing with master-11, I noticed that you’ve removed the javafx.swing dependency from module-info.java) ?
  3. In this branch, I ran the “install” task in the Maven window of Intellij. That created, among others:

.../.m2/repository/com/dlsc/workbenchfx/workbenchfx-core/11.0.0/workbenchfx-core-11.0.0.jar

But that seems to be a fat jar which includes dependencies javafx classes and logger classes. Is that the jar I should add to my runtime dependencies? 4. But I am confused: Should’nt the JavaFx -parts be in separate modules, installed separately and platform - specific from https://gluonhq.com/products/javafx/ ?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

2reactions
dlemmermanncommented, Dec 17, 2018

The 11.0.0 version is on jcentral and Maven central.

0reactions
dlemmermanncommented, Jan 5, 2022

This should work now in 11.3.0. We are no longer using the shade plugin, so we now have “clean” jars.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use WorkbenchFX as a Java 11 module #14 - GitHub
I am trying to set up a new project with WorkbenchFX and to use modules right from the start. I use Intellij with...
Read more >
A Guide to Java 9 Modularity - Baeldung
Learn the essentials of building and using modules in Java 9. Start down the path of modularizing your code today.
Read more >
e(fx)clipse » Re: javafx.application.Application cannot be ...
I'm trying to run the Java FX e4 application and get the following error. After creating the project I changed the tycho version...
Read more >
JavaFX Days Tom Schindl e
JavaFX-11 in OSGi. ❖ Use Equinox-Adapter Hooks and spin an extra. Java-Module-Layer dynamically. Demo: https://gist.github.com/tomsontom/ ...
Read more >
Getting Started with the Java Platform Module System Part 2
Label; 11 ^ 12 (package javafx.scene.control is declared in module javafx.controls ... That's because if you use the javafx.controls module, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found