AW: Cannot find symbol (CertAndKeyGen) with JDK8

2014-05-20 Thread jhm
I could reproduce the problem. You are trying to refer to a private API, see http://www.oracle.com/technetwork/java/faq-sun-packages-142232.html I could load the class via reflection (Class.forName) but not via direct reference. While searching I found some hints: https://svn.forgerock.org/opend

AW: Cannot find symbol (CertAndKeyGen) with JDK8

2014-05-20 Thread Markus Wiesenbacher
Thanks Jan, this withing the javac-argument solved the problem: This grants access to the restricted API! Markus ;) -Ursprüngliche Nachricht- Von: Jan Matèrne (jhm) [mailto:apa...@materne.de] Gesendet: Dienstag, 20. Mai 2014 14:24 An: 'Ant Users List' Betreff: AW: Cannot find symbol