I have installed Netbeans 6.7.1 and opened up a project from the JavaFX tree and tried to build the application. The compilation did not complete and I got the following error message:
-----------------
private.check:
init:
deps-jar:
keytool error: java.lang.Exception: Key pair not generated, alias <key1> already exists
Cannot run program "C:\Program Files\Java\jre6\bin\jarsigner.exe": CreateProcess error=2, The system cannot find the file specified
C:\Users\X2T377\Documents\NetBeansProjects\Interesting Photos\nbproject\build-impl.xml:143: exec returned: -1
BUILD FAILED (total time: 7 seconds)
-----------------
I thought the compilation happens in the source directory which is C:\Programs\netbeans\samples, however the compile happend in my home directory.
How do you create XML files? Do I need to know XML to code in Java?
Thank you in advance.
K