Skip to content

Module javafx.base not found #214

@processing-bot

Description

@processing-bot

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions