apache / apache/netbeans

JavaFX project stuck on running..

Open
#4,663 0 comments 0 reactions 0 assignees View on GitHub
kind:bug needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 15

### What happened

I am using NetBeans 15 and JDK 17. I followed the instructions on https://openjfx.io/openjfx-docs/ for running a JavaFX project on NetBeans, and it compiles fine, but when the status gets to running, it just gets stuck at running.
Here is my code:

package javagame;
import javafx.application.Application;
import javafx.stage.Stage;
public class JavaGame extends Application{
@Override
public void start(Stage stage){

}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
}
}

### How to reproduce

I followed the instructions here: https://openjfx.io/openjfx-docs/, but with JavaFX 17.

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

Linux Debian, Aarch64.

### JDK

jdk 17.

### Apache NetBeans packaging

Other

### Anything else

I first tried to use JavaFX 19 with JDK 17(same results), and I thought that may be the problem, so I used JavaFX 17 instead, but the same thing happened.

### Are you willing to submit a pull request?

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

No repository file or test is identified. Start by reproducing the JavaFX 17 and JDK 17 setup from the linked OpenJFX instructions, then inspect the JavaGame main and start entry points; done means isolating why NetBeans remains at “running” and documenting or fixing the confirmed cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.