Attempting to work with JSSE in JavaFX on NetBeans. When trying to compile the attached file (Server.fx), Netbeans reports this error:
Note: An internal error has occurred in the OpenJFX compiler. Please file a bug at the
Openjfx-compiler issues home (https://openjfx-compiler.dev.java.net/Issues)
after checking for duplicates. Include in your report:
- the following diagnostics
- file {APPDATA_TEMP_DIR}\javafx_err_1777629855159446304.txt
- and if possible, the source file which triggered this problem.
Thank you.
{FX_PROJ_LOC}\ssltest\Server.fx:14: cannot access sun.security.jca.GetInstance
class file for sun.security.jca.GetInstance not found
def keyPairGen = KeyPairGenerator.getInstance("RSA");
1 error
ERROR: javafxc execution failed, exit code: 1
Two things: 1) https://openjfx-compiler.dev.java.net/Issues is no longer a valid URL. http://www.oracle.com/technetwork/java/javafx/training/index.html directed me here, so I hope this is the place. If not, please direct me with apologies. 2) I have no idea what "code name" version this affects. I picked Presidio but the nonsensical real JavaFX version is stated in Environment.
Also attached, as per requested, is the offending JavaFX-to-Java translated file.
It goes without saying (..) that the rt.jar (where this public class resides) is by default on my classpath.
Note: An internal error has occurred in the OpenJFX compiler. Please file a bug at the
Openjfx-compiler issues home (https://openjfx-compiler.dev.java.net/Issues)
after checking for duplicates. Include in your report:
- the following diagnostics
- file {APPDATA_TEMP_DIR}\javafx_err_1777629855159446304.txt
- and if possible, the source file which triggered this problem.
Thank you.
{FX_PROJ_LOC}\ssltest\Server.fx:14: cannot access sun.security.jca.GetInstance
class file for sun.security.jca.GetInstance not found
def keyPairGen = KeyPairGenerator.getInstance("RSA");
1 error
ERROR: javafxc execution failed, exit code: 1
Two things: 1) https://openjfx-compiler.dev.java.net/Issues is no longer a valid URL. http://www.oracle.com/technetwork/java/javafx/training/index.html directed me here, so I hope this is the place. If not, please direct me with apologies. 2) I have no idea what "code name" version this affects. I picked Presidio but the nonsensical real JavaFX version is stated in Environment.
Also attached, as per requested, is the offending JavaFX-to-Java translated file.
It goes without saying (..) that the rt.jar (where this public class resides) is by default on my classpath.