OpenJavafx compiler version 1.3.0_b412 java.vm.version 17.0-b17 java.runtime.version 1.6.0_21-b07 os.name Windows 7 os.arch x86 ---------- import java.lang.*; import com.sun.javafx.functions.*; import com.sun.javafx.runtime.sequence.*; import com.sun.javafx.runtime.*; import com.sun.javafx.runtime.annotation.*; public class Server extends FXBase implements FXObject { public Server() { this(false); initialize$(true); } public Server(final boolean dummy) { super(dummy); } public static Object javafx$run$(final Sequence _$UNUSED$_$ARGS$_) { try { { final java.security.KeyPairGenerator keyPairGen = java.security.KeyPairGenerator.getInstance("RSA"); final java.security.SecureRandom secRandom = new java.security.SecureRandom(); if (keyPairGen != null) keyPairGen.initialize(1024, secRandom); final java.security.KeyPair keyPair = keyPairGen != null ? keyPairGen.genKeyPair() : null; final java.security.interfaces.RSAPublicKey pubKey = (java.security.interfaces.RSAPublicKey)(keyPair != null ? keyPair.getPublic() : null); final java.security.interfaces.RSAPrivateKey privKey = (java.security.interfaces.RSAPrivateKey)(keyPair != null ? keyPair.getPrivate() : null); javafx.lang.Builtins.println(String.format("pubKey=%s privKey=%s", pubKey != null ? pubKey.getPublicExponent() : null, privKey != null ? privKey.getPrivateExponent() : null)); } } catch (final Exception e) { javafx.lang.Builtins.println(e); } return null; } } ---------- C:\Users\SM010909\ecosystem\workspace\netbeans\S3Test\src\ssltest\Server.fx:10: cannot access sun.security.jca.GetInstance class file for sun.security.jca.GetInstance not found