I just completed a first time installation of apache netbeans 11.0 on a
windows 10 system. I have previously installed netbeans 8.2 which is using
jdk.1.8.0_241 installed in C:/ProgramFiles (x86)/java. I installed netbeans
11.0 in C;/Program Files/NetBeans 11.0/netbeans.

netbeans64.exe would not start, complaining that it could not find jdk 8 or
higher. After setting netbeans_jdkhome to my jdk1.8.0_241 path,
netbeans64.exe started fine. I then attempted to create my first javaFX
project using ANT. The project was created. But when I run it, I get a
window displaying Available Classes, but only containing the text
"Initializing view, please wait..." and when I click the text and then
click "Select Class",the output to the console contains the following error

Executing
C:\Users\don\Documents\NetBeansProjects\NewTest\dist\run2028048121\NewTest.jar
using platform C:\Program Files (x86)\java\jdk1.8.0_241\jre/bin/java
Error: Could not find or load main class Initializing view, please wait ...

Can anyone tell me what to do to get this program to run? Thanks.

Reply via email to