title: Getting NoSuchAlgorithmException when creating a directory on SFTP server via JSch
body: <p>I am using JSch to SFTP files to my server.</p>
  
  <p>In Rational Application Developer (RAD) all works as expected.</p>
  
  <p>Outside of RAD, running via bat file I am connecting to SFTP server without any issues but when trying to create directory I am getting following error message:</p>
  
  <blockquote>
    <p>com.jcraft.jsch.JSchException: Session.connect: java.security.NoSuchAlgorithmException: DH KeyPairGenerator not available</p>
  </blockquote>
  
  <p>What do I have in my RAD jdk that I don't have on my machine when running it via bat file? Obviously, it can create connection so my bat file can access <code>jsch-0.1.51.jar</code> but it is missing some other jar in my <code>C:\Progra~1\Java\jre6\bin</code> that is include in RAD jre.</p>