Hi; I'm trying to learn JavaFX to develop gui applications. I've gotten to the JavaFXML example 6 Using FXML to Create a User Interface (Release 8) and now I'm getting a Warning message that I do not know how to deal with.
Here is the output from Netbeans 8.0 the first time I try to compile. There are two warnings that I'm concerned about. The first one suggests that I need to modify the manifest.custom.codebase property of which I can not find any information on how to do so. The second one states that the signer certificate is going to expire in six months. I assume this means that if I learn JavaFXML, design, build, then debug my application it would only work for six months? When I look at files, manifest.mf there is only an X-COMMENT: Main-Class will be added automatically by build. Even after I run the application one time.
Below is the output during the first build. Note I do not always get these warnings on subsequent runs unless I make a change to the FXML files.
///////////////////// Output ////////////////////////////
ant -f /home/kurt/NetBeansProjects/FXMLExample jfxsa-run
init:
Deleting: /home/kurt/NetBeansProjects/FXMLExample/build/built-jar.properties
deps-jar:
Updating property file: /home/kurt/NetBeansProjects/FXMLExample/build/built-jar.properties
Copying 3 files to /home/kurt/NetBeansProjects/FXMLExample/build/classes
compile:
Detected JavaFX Ant API version 1.3
Launching <fx:jar> task from /home/kurt/jdk1.8.0_05/jre/../lib/ant-javafx.jar
Warning: From JDK7u25 the Codebase manifest attribute should be used to restrict JAR repurposing.
Please set manifest.custom.codebase property to override the current default non-secure value '*'.
Signing JAR: /home/kurt/NetBeansProjects/FXMLExample/dist/FXMLExample.jar to /home/kurt/NetBeansProjects/FXMLExample/dist/FXMLExample.jar as nb-jfx
jar signed.
Warning:
The signer certificate will expire within six months.
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2014-08-06) or after any future revocation date.
Enter Passphrase for keystore: Enter key password for nb-jfx:
Launching <fx:deploy> task from /home/kurt/jdk1.8.0_05/jre/../lib/ant-javafx.jar
jfx-deployment-script:
jfx-deployment:
jar:
Copying 12 files to /home/kurt/NetBeansProjects/FXMLExample/dist/run1659203773
jfx-project-run:
Executing /home/kurt/NetBeansProjects/FXMLExample/dist/run1659203773/FXMLExample.jar using platform /home/kurt/jdk1.8.0_05/jre/bin/java
Deleting directory /home/kurt/NetBeansProjects/FXMLExample/dist/run1659203773
jfxsa-run:
BUILD SUCCESSFUL (total time: 1 minute 11 seconds)