Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Java using modules (-p and -m options) #83

Open
@pzw

Description

I'm submitting a…

  • bug report
    feature request
    other

Do you plan to have a way using Java 11/14 with module-path instead classpath ?

  1. a way to give modules path and main module to JarBundler ANT Task
  2. updating universalJavaApplicationStub to launch java with -p and -m options

Activity

tofi86

tofi86 commented on Apr 29, 2020

@tofi86
Owner

Good catch. I haven't worked with the new Java module system yet, so this was indeed a bit out of scope.

You also pointed out, that this requires an updated JarBundler ANT task so I would need to synchronize development with the other project.

Not sure yet, when to find time for this at the moment...

pzw

pzw commented on May 1, 2020

@pzw
Author

OK, thank you for your answer.

I use a modified version of your universalJavaApplicationStub. It use two additionnal entries in java dictionnary of Info.plist : ModulePath and MainModule. These entries are manually added to Info.plist, because I have not worked on ANT task to produce this file automatically). They are used to launch java in "modular mode" if not class path is defined.

Best regards

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

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Java using modules (-p and -m options) · Issue #83 · tofi86/universalJavaApplicationStub