Open flozano opened 1 year ago
/Applications/NetBeans/Apache NetBeans 16.app/Contents/MacOS ❯ file netbeans
netbeans: Mach-O 64-bit executable x86_64
if I switch to a x86_64 JDK and use rosetta2, it works well.
I've just encountered something very similar while building a Gradle project. My guess is the dependency classifier for the JavaFX resources is still set to be mac, when on Apple Silicon it should be mac-aarch64. While I don't use the JavaFX Gradle plugin, its source for JavaFXPlatform.java shows this clearly.
I'm fairly certain resolving these JavaFX dependencies in the new project module would resolve this.
This should be fixed in NB19 by #6028 I believe.
When creating a new web project:
Also note that Java Frontend Application
may not be what you're looking for here. It's a badly labelled project type IMO.
yeah, pretty misleading name... I was just exploring the options for curiosity and found this issue, but not interested in the "java(script) frontend application" type itself 👍
Also note that Java Frontend Application may not be what you're looking for here. It's a badly labelled project type IMO.
@neilcsmith-net I agree. We should fix this to make it less generic sounding and tell what project type it is.
Apache NetBeans version
Apache NetBeans 16
What happened
Fresh install of NB 16
When creating a new web project:
after clicking "Next", I get:
which contains an exception:
How to reproduce
No response
Did this work correctly in an earlier version?
No / Don't know
Operating System
macos 12.6 monterrey - apple silicion
JDK
17.0.5 from Azul
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
No response
Are you willing to submit a pull request?
Yes
Code of Conduct
Yes