title: Exception in thread "main" java.lang.InternalError: internal error: SHA-1 not available
body: <p>I try to start Android Studio under CentOS and the fowllowing message showed up</p>
  
  <pre><code>Exception in thread "main" java.lang.InternalError: internal error: SHA-1 not available.
  at sun.security.provider.SecureRandom.init(SecureRandom.java:108)
  at sun.security.provider.SecureRandom.&lt;init&gt;(SecureRandom.java:79)
  at java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:198)
  at java.security.SecureRandom.&lt;init&gt;(SecureRandom.java:162)
  at java.util.UUID$Holder.&lt;clinit&gt;(UUID.java:96)
  at java.util.UUID.randomUUID(UUID.java:142)
  at com.intellij.internal.statistic.analytics.StudioCrashDetection.start(StudioCrashDetection.java:46)
  at com.intellij.idea.Main.main(Main.java:82)
  
  Caused by: java.security.NoSuchAlgorithmException: SHA MessageDigest not available
      at sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
      at java.security.Security.getImpl(Security.java:695)
      at java.security.MessageDigest.getInstance(MessageDigest.java:167)
      at sun.security.provider.SecureRandom.init(SecureRandom.java:106)
      ... 7 more
  </code></pre>
  
  <p>I verified that I have JDK from Oracle jdk-8u161-linux-x64.rpm installed,JAVA_HOME="/usr/java/jdk1.8.0_161" JRE_HOME="/usr/java/jdk1.8.0_161/jre,jsse.jar is present in jre/lib/.
  What else can be wrong?</p>