Skip to content

windows command line issue #176

@Michael-S-de

Description

@Michael-S-de

I followed the "Getting Started with JavaFX" instructions:
I loaded down hellofx.java from GitHub, put it to D:\java
I've set the Path_To_FX. The command javac --module-path "%PATH_TO_FX%" --add-modules javafx.controls HelloFX.java
(with "" around Path_To_FX) works and I get HelloFX.class

The next step fails:

D:\java>java --module-path "%PATH_TO_FX%" --add-modules javafx.controls HelloFX
Error: Could not find or load main class HelloFX
Caused by: java.lang.ClassNotFoundException: HelloFX

All running on Windows 10. Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions