Skip to content

JavaFX modules are not added to the classpath. #1344

@glvjr

Description

@glvjr

Most appropriate sub-area of Processing 4?

Build process

Processing version

4.4.10

Operating system

Windows 10

Bug description

JavaFX modules are not included in the classpath by default.
These modules are required to run JavaFX programs.

The expectation is that JavaFX programs run without issues

Steps to reproduce this

  1. Install the JavaFX library.

  2. Run the sketch snippet; the output will show that the JavaFX modules are not in the classpath.

snippet

import processing.javafx.*;

String classPaths = System.getProperty("java.class.path");

println(classPaths);
println();

String [] path = classPaths.split(";"); 
printArray(path);

Additional context

A search for JavaFX related issues in these repositories will provide some history and context:

https://github.com/processing/processing4
https://github.com/processing/processing4-javafx

Related discussion on Processing discourse:

https://discourse.processing.org/t/processing-and-javafx/45692/16

I had some success modifying the Processing source code and adding the modules to the classpath during a collaborative session with Google Gemini.
I can share the details on request.

Would you like to work on the issue?

No, I’m just reporting the issue

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions