Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Options for javafx:run are incompatible with javafx:jlink #22

Closed
jperedadnr opened this issue Jun 5, 2019 · 0 comments
Closed

Options for javafx:run are incompatible with javafx:jlink #22

jperedadnr opened this issue Jun 5, 2019 · 0 comments

Comments

@jperedadnr
Copy link
Collaborator

jperedadnr commented Jun 5, 2019

For instance, adding:

                    <options>
                        <option>--add-opens</option>
                        <option>javafx.graphics/com.sun.glass.ui=fx</option>
                    </options>

that works for mvn javafx:run, fails for mvn javafx:jlink with:

INFO] --- javafx-maven-plugin:0.0.2:jlink (default-cli) @ fx ---
Error: unknown option: --add-opens
Usage: jlink <options> --module-path <modulepath> --add-modules <module>[,<module>...]
Use --help for a list of possible options
jperedadnr added a commit to jperedadnr/javafx-maven-plugin that referenced this issue Jun 7, 2019
jperedadnr pushed a commit that referenced this issue Jun 21, 2019
#22 Remove vm options from jlink command line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant