Skip to content

windows command line issue #176

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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