Keytool EC KeyPairGenerator not available
<p>When I use <strong>keytool</strong> to generate a key with ECC, I get this <strong>error</strong>:</p>

<blockquote>
  <p>Error keytool: java.security.NoSuchAlgorithmException: EC KeyPairGenerator not available</p>
</blockquote>

<p>Then syntax used to generate a key is:</p>

<pre><code>keytool -genkey -alias testing -keyalg EC -keysize 256 -keystore try.jks -dname "CN=localhost,OU=dep,O=lks,L=ny,ST=ny,C=USA"
</code></pre>

<p>I have this Java version:</p>

<pre><code>openjdk version "1.8.0_60"
OpenJDK Runtime Environment (build 1.8.0_60-b16)                            
OpenJDK 64-Bit Server VM (build 25.60-b16, mixed mode)
</code></pre>