Skip to content

Migrate to Java Module System #85

Open

Description

@msgilligan

Have you considered doing this? Will you consider it? I might be willing to help.

Activity

  1. changed the title [-]Convert to Java Module System[/-] [+]Migrate to Java Module System[/+] on Aug 30, 2019
  2. msgilligan commented on Aug 31, 2019

    @msgilligan
    ContributorAuthor

    PR #87 and PR #88 are ready to merge and a start on this work.
    PR #89 is Work-in-progress towards a minimally modular app.

  3. ccavanaugh commented on Aug 31, 2019

    @ccavanaugh
    Owner

    The biggest hurdle is simply building for macOS and not having a machine, and virtual machine emulation with JavaFX don't mix either.

    When jlink is mainstream, I think it's viable and best. I've seen too many users that struggle to handle a basic Java installation and this would solve it.

  4. msgilligan commented on Sep 1, 2019

    @msgilligan
    ContributorAuthor

    The biggest hurdle is simply building for macOS and not having a machine,

    I'm hoping we can get a macOS build using CI. I've never done this before (all my CI builds have been Linux, Android or cross-platform JAR files)

    and virtual machine emulation with JavaFX don't mix either.

    I had good luck running JavaFX apps on Ubuntu in VirtualBox on macOS. I even was able to do QR code reading using the MacBook Pro webcam.

    When jlink is mainstream, I think it's viable and best.

    I agree. And I think that time is just about here. @siordache, the author of the Badass JLink/Runtime plugins has been very responsive and I've had good luck with his JLink plugin. It looks like I"m going to have to open a few issues with the Runtime plugin, but they are issues that he has already fixed for the JLink one.

    I've seen too many users that struggle to handle a basic Java installation and this would solve it.

    I agree. This has been true of Java desktop apps for 20 years. It looks like it is finally being solved!

  5. msgilligan commented on Sep 1, 2019

    @msgilligan
    ContributorAuthor

    So, to be clear this issue is about migrating to JPMS modules and is (mostly) a separate decision from using jlink or jpackage. The Badass Runtime plugin (in theory, at least) allows you to use jlink and jpackage on non-modular apps. I made a quick stab (see #89 ) at making jGNash modular, but decided to put it on ice for now and try using the Badass Runtime plugin to build native apps without a JPMS migration.

    If you are willing to work on a JPMS migration in the near future, we should use the Badass JLink plugin instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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