ACimaroli opened a new issue #3823:
URL: https://github.com/apache/netbeans/issues/3823


   ### Apache NetBeans version
   
   Apache NetBeans 13
   
   ### What happened
   
   Windows 11
   
   Java Plattform: JDK 1.8
   
   Project Properties - Libraries:
   
   Classpath: javafx.classpath.extension
   
   C:\Program Files\Java\javafx-sdk-17.0.2\lib\*.jar (tutti i files .jar)
   
   Run: il programma funziona!
   
   Build:
   
   ant -f C:\\Users\\acima\\Documents\\NetBeansProjects\\combobox1 jfx-rebuild
   
   jfx-rebuild:
   
   Buildfile: C:\Users\acima\Documents\NetBeansProjects\combobox1\build.xml
   
   -pre-init:
   
   -init-private:
   
   -init-user:
   
   -init-project:
   
   -init-macrodef-property:
   
   -init-modules-supported:
   
   -do-init:
   
   -post-init:
   
   -init-check:
   
   -init-ap-cmdline-properties:
   
   -init-macrodef-modulename:
   
   -init-source-module-properties:
   
   -init-macrodef-javac-with-module:
   
   -init-macrodef-javac-with-processors:
   
   -init-macrodef-javac-without-processors:
   
   -init-macrodef-javac:
   
   -init-macrodef-test-impl:
   
   -init-macrodef-junit-init:
   
   -init-test-properties:
   
   -init-macrodef-junit-prototype-with-module:
   
   -init-macrodef-junit-prototype-without-module:
   
   -init-macrodef-junit-single:
   
   -init-macrodef-junit-batch:
   
   -init-macrodef-junit:
   
   -init-macrodef-junit-impl:
   
   -init-macrodef-testng:
   
   -init-macrodef-testng-impl:
   
   -init-macrodef-test:
   
   -init-macrodef-junit-debug-impl:
   
   -init-macrodef-test-debug-junit:
   
   -init-macrodef-testng-debug:
   
   -init-macrodef-testng-debug-impl:
   
   -init-macrodef-test-debug-testng:
   
   -init-macrodef-test-debug:
   
   -init-debug-args:
   
   -init-macrodef-nbjpda:
   
   -init-macrodef-debug:
   
   -init-macrodef-java-with-module:
   
   -init-macrodef-java-with-unnamed-module:
   
   -init-macrodef-java-without-module:
   
   -init-macrodef-java:
   
   -init-presetdef-jar:
   
   -init-ap-cmdline-supported:
   
   -init-ap-cmdline:
   
   init:
   
   -deps-clean-init:
   
   deps-clean:
   
   -warn-already-built-clean:
   
   [propertyfile] Updating property file: 
C:\Users\acima\Documents\NetBeansProjects\combobox1\build\built-clean.properties
   
   -do-clean:
   
   [delete] Deleting directory 
C:\Users\acima\Documents\NetBeansProjects\combobox1\build
   
   -post-clean:
   
   clean:
   
   -check-do-jar:
   
   -jfx-do-compile:
   
   -jfx-do-jar:
   
   -pre-init:
   
   -init-private:
   
   -init-user:
   
   -init-project:
   
   -init-macrodef-property:
   
   -init-modules-supported:
   
   -do-init:
   
   -post-init:
   
   -init-check:
   
   -init-ap-cmdline-properties:
   
   -init-macrodef-modulename:
   
   -init-source-module-properties:
   
   -init-macrodef-javac-with-module:
   
   -init-macrodef-javac-with-processors:
   
   -init-macrodef-javac-without-processors:
   
   -init-macrodef-javac:
   
   -init-macrodef-test-impl:
   
   -init-macrodef-junit-init:
   
   -init-test-properties:
   
   -init-macrodef-junit-prototype-with-module:
   
   -init-macrodef-junit-prototype-without-module:
   
   -init-macrodef-junit-single:
   
   -init-macrodef-junit-batch:
   
   -init-macrodef-junit:
   
   -init-macrodef-junit-impl:
   
   -init-macrodef-testng:
   
   -init-macrodef-testng-impl:
   
   -init-macrodef-test:
   
   -init-macrodef-junit-debug-impl:
   
   -init-macrodef-test-debug-junit:
   
   -init-macrodef-testng-debug:
   
   -init-macrodef-testng-debug-impl:
   
   -init-macrodef-test-debug-testng:
   
   -init-macrodef-test-debug:
   
   -init-debug-args:
   
   -init-macrodef-nbjpda:
   
   -init-macrodef-debug:
   
   -init-macrodef-java-with-module:
   
   -init-macrodef-java-with-unnamed-module:
   
   -init-macrodef-java-without-module:
   
   -init-macrodef-java:
   
   -init-presetdef-jar:
   
   -init-ap-cmdline-supported:
   
   -init-ap-cmdline:
   
   init:
   
   -deps-jar-init:
   
   deps-jar:
   
   [mkdir] Created dir: 
C:\Users\acima\Documents\NetBeansProjects\combobox1\build
   
   -warn-already-built-jar:
   
   [propertyfile] Updating property file: 
C:\Users\acima\Documents\NetBeansProjects\combobox1\build\built-jar.properties
   
   -check-automatic-build:
   
   -clean-after-automatic-build:
   
   -verify-automatic-build:
   
   -pre-pre-compile:
   
   [mkdir] Created dir: 
C:\Users\acima\Documents\NetBeansProjects\combobox1\build\classes
   
   -pre-compile:
   
   -copy-persistence-xml:
   
   -compile-depend:
   
   -do-compile:
   
   [mkdir] Created dir: 
C:\Users\acima\Documents\NetBeansProjects\combobox1\build\empty
   
   [mkdir] Created dir: 
C:\Users\acima\Documents\NetBeansProjects\combobox1\build\generated-sources\ap-source-output
   
   [javac] Compiling 2 source files to 
C:\Users\acima\Documents\NetBeansProjects\combobox1\build\classes
   
   [javac] Note: 
C:\Users\acima\Documents\NetBeansProjects\combobox1\src\combobox1\FXMLDocumentController.java
 uses unchecked or unsafe operations.
   
   [javac] Note: Recompile with -Xlint:unchecked for details.
   
   [copy] Copying 4 files to 
C:\Users\acima\Documents\NetBeansProjects\combobox1\build\classes
   
   -post-compile:
   
   compile:
   
   -pre-jar:
   
   -check-module-main-class:
   
   -set-module-main-class:
   
   -pre-pre-jar:
   
   [mkdir] Created dir: C:\Users\acima\Documents\NetBeansProjects\combobox1\dist
   
   -do-jar-create-manifest:
   
   -do-jar-copy-manifest:
   
   -do-jar-set-mainclass:
   
   -do-jar-set-profile:
   
   -do-jar-set-splashscreen:
   
   -check-do-mkdist:
   
   -do-jar-jar:
   
   -init-macrodef-copylibs:
   
   -do-jar-copylibs:
   
   -do-jar-delete-manifest:
   
   -do-jar-without-libraries:
   
   -do-jar-with-libraries:
   
   -jfx-copylibs-warning:
   
   -jfx-copylibs:
   
   [copy] Copying 8 files to 
C:\Users\acima\Documents\NetBeansProjects\combobox1\dist\lib
   
   -check-project:
   
   -check-rebase-libs:
   
   -rebase-libs-warning:
   
   -rebase-libs:
   
   -check-property-javafx.sdk:
   
   -check-platform-home-fxsdk-java:
   
   -set-platform-home-fxsdk-java:
   
   -check-platform-home-java:
   
   -set-platform-home-java:
   
   -check-platform-home-probjdk-java:
   
   -set-platform-home-probjdk-java:
   
   -check-platform-home-envjdk-java:
   
   -set-platform-home-envjdk-java:
   
   -check-property-javafx.runtime:
   
   -check-platform-home-fxrt-java:
   
   -set-platform-home-fxrt-java:
   
   -check-platform-home-jre-java:
   
   -set-platform-home-jre-java:
   
   -check-platform-home:
   
   -check-jdk-version:
   
   -check-ant-javafx-in-fxsdk-lib:
   
   -set-ant-javafx-in-fxsdk-lib:
   
   -check-ant-javafx-in-fxsdk-tools:
   
   -set-ant-javafx-in-fxsdk-tools:
   
   -check-ant-javafx-in-platform-home-lib:
   
   -set-ant-javafx-in-platform-home-lib:
   
   -check-ant-javafx-in-platform-home-tools:
   
   -set-ant-javafx-in-platform-home-tools:
   
   -check-ant-javafx-in-probjdk-lib:
   
   -set-ant-javafx-in-probjdk-lib:
   
   -check-ant-javafx-in-probjdk-tools:
   
   -set-ant-javafx-in-probjdk-tools:
   
   -check-ant-javafx-in-macjdk-lib:
   
   -set-ant-javafx-in-macjdk-lib:
   
   -check-ant-javafx-in-envjdk-lib:
   
   -set-ant-javafx-in-envjdk-lib:
   
   -check-ant-javafx-in-envjdk-tools:
   
   -set-ant-javafx-in-envjdk-tools:
   
   -pre-check-ant-javafx-version:
   
   -check-endorsed-javafx-ant-classpath:
   
   -set-endorsed-javafx-ant-classpath:
   
   -set-javafx-ant-classpath:
   
   -check-ant-javafx-version:
   
   -check-jfx-sdk-version-old:
   
   -check-jfx-sdk-version-new:
   
   -check-jfx-sdk-version:
   
   [echo] Detected JavaFX Ant API version 1.3
   
   -check-jfx-deployment:
   
   -check-dist-lib-exists:
   
   -check-jfx-deployment-jar-current-nolib:
   
   -check-jfx-deployment-jar-current-lib:
   
   -check-jfx-deployment-launch:
   
   -do-jfx-deployment-script:
   
   -pre-init:
   
   -init-private:
   
   -init-user:
   
   -init-project:
   
   -init-macrodef-property:
   
   -init-modules-supported:
   
   -do-init:
   
   -check-property-javafx.sdk:
   
   -check-platform-home-fxsdk-java:
   
   -set-platform-home-fxsdk-java:
   
   -check-platform-home-java:
   
   -set-platform-home-java:
   
   -check-platform-home-probjdk-java:
   
   -set-platform-home-probjdk-java:
   
   -check-platform-home-envjdk-java:
   
   -set-platform-home-envjdk-java:
   
   -check-property-javafx.runtime:
   
   -check-platform-home-fxrt-java:
   
   -set-platform-home-fxrt-java:
   
   -check-platform-home-jre-java:
   
   -set-platform-home-jre-java:
   
   -check-platform-home:
   
   -check-jdk-version:
   
   -check-ant-javafx-in-fxsdk-lib:
   
   -set-ant-javafx-in-fxsdk-lib:
   
   -check-ant-javafx-in-fxsdk-tools:
   
   -set-ant-javafx-in-fxsdk-tools:
   
   -check-ant-javafx-in-platform-home-lib:
   
   -set-ant-javafx-in-platform-home-lib:
   
   -check-ant-javafx-in-platform-home-tools:
   
   -set-ant-javafx-in-platform-home-tools:
   
   -check-ant-javafx-in-probjdk-lib:
   
   -set-ant-javafx-in-probjdk-lib:
   
   -check-ant-javafx-in-probjdk-tools:
   
   -set-ant-javafx-in-probjdk-tools:
   
   -check-ant-javafx-in-macjdk-lib:
   
   -set-ant-javafx-in-macjdk-lib:
   
   -check-ant-javafx-in-envjdk-lib:
   
   -set-ant-javafx-in-envjdk-lib:
   
   -check-ant-javafx-in-envjdk-tools:
   
   -set-ant-javafx-in-envjdk-tools:
   
   -pre-check-ant-javafx-version:
   
   -check-endorsed-javafx-ant-classpath:
   
   -set-endorsed-javafx-ant-classpath:
   
   -set-javafx-ant-classpath:
   
   -check-ant-javafx-version:
   
   -check-jfx-sdk-version-old:
   
   -check-jfx-sdk-version-new:
   
   -check-jfx-sdk-version:
   
   -check-jfx-deployment:
   
   -check-project:
   
   -swing-api-check:
   
   -swing-api-warning:
   
   -icon-deployment-check:
   
   -icon-warning:
   
   -set-dimensions:
   
   -reset-dimensions:
   
   -set-update-mode-background:
   
   -set-update-mode-eager:
   
   -set-permissions-elevated:
   
   -reset-permissions-elevated:
   
   -copy-external-preloader-jar:
   
   -check-ant-jre-version:
   
   -init-css-conversion:
   
   -set-binary-css:
   
   -unset-binary-css:
   
   -copy-binary-css-bypass:
   
   -copy-binary-css-impl:
   
   -copy-binary-css:
   
   -security-props-check:
   
   -unavailable-signjars-task:
   
   -check-signing-possible:
   
   -javafx-init-signing:
   
   -javafx-init-keystore1:
   
   -javafx-init-keystore2:
   
   -check-keystore-exists:
   
   -javafx-init-keystore:
   
   -check-sign:
   
   -deploy-app-sign-nopreloader-notemplate:
   
   -deploy-app-sign-preloader-notemplate:
   
   -deploy-app-sign-nopreloader-template:
   
   -deploy-app-sign-preloader-template:
   
   -deploy-app-sign-nopreloader-notemplate-swing:
   
   -deploy-app-sign-nopreloader-template-swing:
   
   -deploy-app-sign-blob-nopreloader-notemplate:
   
   -deploy-app-sign-blob-preloader-notemplate:
   
   -deploy-app-sign-blob-nopreloader-template:
   
   -deploy-app-sign-blob-preloader-template:
   
   -deploy-app-sign-blob-nopreloader-notemplate-swing:
   
   -deploy-app-sign-blob-nopreloader-template-swing:
   
   -check-nosign:
   
   -deploy-app-nosign-nopreloader-notemplate:
   
   -pre-jfx-jar:
   
   [echo] Launching <fx:jar> task from C:\Program 
Files\Java\jdk1.8.0_311\lib\ant-javafx.jar
   
   [script] Warning: From JDK7u25 the Codebase manifest attribute should be 
used to restrict JAR repurposing.
   
   [script] Please set manifest.custom.codebase property to override the 
current default non-secure value '*'.
   
   -post-jfx-jar:
   
   -pre-jfx-deploy:
   
   -call-pre-jfx-native:
   
   [echo] Launching <fx:deploy> task from C:\Program 
Files\Java\jdk1.8.0_311\lib\ant-javafx.jar
   
   No base JDK. Package will use system JRE.
   
   No base JDK. Package will use system JRE.
   
   -post-jfx-deploy:
   
   -call-post-jfx-native:
   
   -deploy-app-nosign-preloader-notemplate:
   
   -deploy-app-nosign-nopreloader-template:
   
   -deploy-app-nosign-preloader-template:
   
   -deploy-app-nosign-nopreloader-notemplate-swing:
   
   -deploy-app-nosign-nopreloader-template-swing:
   
   jfx-deployment-script:
   
   -do-jfx-deployment-noscript:
   
   jfx-deployment:
   
   -post-jar:
   
   -do-jar:
   
   -pre-deploy:
   
   -check-jlink:
   
   -do-deploy:
   
   -post-deploy:
   
   deploy:
   
   jar:
   
   -check-project:
   
   -jfx-do-post-jar:
   
   jfx-project-rebuild:
   
   BUILD SUCCESSFUL
   
   Total time: 2 seconds
   
   BUILD SUCCESSFUL (total time: 3 seconds)
   
   Esecuzione .jar file: Doppio click in ambiente Windows non va in esecuzione
   
   java -jar 
C:\Users\acima\Documents\NetBeansProjects\combobox1\dist\Combobox1.jar
   
   Error: JavaFX runtime components are missing, and are required to run this 
application
   
   Rimango in attesa di Vs. suggerimenti. GRAZIE.
   
   Alberto Cimaroli
   
   [email protected]
   
   
   
   
   ### How to reproduce
   
   _No response_
   
   ### Did this work correctly in an earlier version?
   
   No
   
   ### Operating System
   
   Windows 11
   
   ### JDK
   
   JDK 1.8
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to