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

Module javafx.base not found #214

Closed
processing-bot opened this issue Jun 25, 2021 · 3 comments
Closed

Module javafx.base not found #214

processing-bot opened this issue Jun 25, 2021 · 3 comments

Comments

@processing-bot
Copy link
Collaborator

Created by: letorbi

Description

Processing is not able to start after building it from the alpha 5 or the latest master code.

Expected Behavior

Well, processing should start without an exception ;)

Current Behavior

Calling build/linux/work/processing returns with the following exception: java.lang.module.FindException: Module javafx.base not found

Here the full output of build/linux/work/processing with logging enabled:

APPDIR=/home/letorbi/Desktop/processing4/build/linux/work
DIR=/home/letorbi/Desktop/processing4/build/linux/work/java
L=rt.jar
LIB=
JDKCP=
SUCCESS=0
CLASSPATH=/home/letorbi/Desktop/processing4/build/linux/work/lib/ant.jar:/home/letorbi/Desktop/processing4/build/linux/work/lib/ant-launcher.jar:/home/letorbi/Desktop/processing4/build/linux/work/lib/jna.jar:/home/letorbi/Desktop/processing4/build/linux/work/lib/jna-platform.jar:/home/letorbi/Desktop/processing4/build/linux/work/lib/pde.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/core.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/gluegen-rt.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/gluegen-rt-natives-linux-aarch64.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/gluegen-rt-natives-linux-amd64.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/gluegen-rt-natives-linux-armv6hf.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/gluegen-rt-natives-linux-i586.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/gluegen-rt-natives-macosx-universal.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/gluegen-rt-natives-windows-amd64.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/gluegen-rt-natives-windows-i586.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/jogl-all.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/jogl-all-natives-linux-aarch64.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/jogl-all-natives-linux-amd64.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/jogl-all-natives-linux-armv6hf.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/jogl-all-natives-linux-i586.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/jogl-all-natives-macosx-universal.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/jogl-all-natives-windows-amd64.jar:/home/letorbi/Desktop/processing4/build/linux/work/core/library/jogl-all-natives-windows-i586.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/antlr-4.7.2-complete.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/antlr.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/classpath-explorer-1.0.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/com.ibm.icu.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/JavaMode.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/jdtCompilerAdapter.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/jsoup-1.7.1.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/org.eclipse.core.contenttype.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/org.eclipse.core.jobs.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/org.eclipse.core.resources.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/org.eclipse.core.runtime.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/org.eclipse.equinox.common.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/org.eclipse.equinox.preferences.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/org.eclipse.jdt.compiler.apt.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/org.eclipse.jdt.core.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/org.eclipse.osgi.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/org.eclipse.text.jar:/home/letorbi/Desktop/processing4/build/linux/work/modes/java/mode/org.netbeans.swing.outline.jar
PATH=/home/letorbi/Desktop/processing4/build/linux/work/java/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/home/letorbi/.dotnet/tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/letorbi/.local/share/go/bin:/home/letorbi/Android/Sdk/emulator:/home/letorbi/Android/Sdk/tools:/home/letorbi/Android/Sdk/tools/bin:/home/letorbi/Android/Sdk/platform-tools
[letorbi@kalliope master work]$ Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.base not found

Steps to Reproduce

  1. Use Arch Linux
  2. Install Ant: pacman -S ant (choose jdk11-openjdk)
  3. Download Processing 4 alpha 5
  4. cd processing4/build
  5. ant run
  6. cd linux/work
  7. ./processing

Your Environment

  • Processing version: 4 alpha 5 & git 07fffbb
  • Operating System and OS version: Arch Linux
  • Other information: System Ant version: 1.10.10; System OpenJDK version: 11.0.11+9

Possible Causes / Solutions

It seems that the --module-path parameter is wrong. Changing it from modes/java/libraries/javafx/library/linux64 to modes/java/libraries/javafx/library/linux64/modules fixes the problem. I have created a pull request (#215) for this change.

@processing-bot
Copy link
Collaborator Author

Created by: benfry

Agh; you wouldn't believe how much time I spent tracking these down across each of the platforms—can't believe it went out with this one set incorrectly.

Anyhow, thanks for the catch!

@processing-bot
Copy link
Collaborator Author

Created by: letorbi

No worries. Testing for other systems is always difficult :) Thanks for merging the PR.

@processing-bot
Copy link
Collaborator Author

Created by: github-actions[bot]

This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant