netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Default gradle run Java project configuration fails at running java subproject

Open antoniodiego opened this issue 11 months ago • 0 comments

Apache NetBeans version

Apache NetBeans 21

What happened

I generated a project using the LibGDX engine project generator, but noticed that netbeans can't run the Java subproject using the run option ou the run button of the interface.

That is the command

image

That is the error

image

I tried to run the project outside the IDE through the Windows command prompt and it worked

image

I think that the commands used to run the project should be configurable to solve problems like it

Language / Project Type / NetBeans Component

Java Gradle subproject

How to reproduce

Generate a project using the LibGDX engine project generator

Open the root project and the desktop subproject through NetBeans

Try run the desktop subproject using the run button

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windwos 10

JDK

JDK 20

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

antoniodiego avatar Mar 31 '24 00:03 antoniodiego