# SOLVED - Installation for ES : Java Error

**URL:** <https://discuss.elastic.co/t/solved-installation-for-es-java-error/124269>\
**Category:** Elasticsearch\
**Created:** [March 16, 2018, 10:35am UTC](https://discuss.elastic.co/t/solved-installation-for-es-java-error/124269 "2018-03-16T10:35:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![StephanePapin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephanepapin/32/28868_2.png) [@StephanePapin](https://discuss.elastic.co/u/StephanePapin)\
**Post date:** [March 16, 2018, 10:35am UTC](https://discuss.elastic.co/t/solved-installation-for-es-java-error/124269/1 "2018-03-16T10:35:37Z")

</div>

Hi,  
I've got an error when trying installa X-pack 6.1.2 for ES (zip file x-pack donwload in temp dir) :

> Elasticsearch keystore is required by plugin [x-pack], creating...  
> Exception in thread "main" java.lang.RuntimeException: java.security.NoSuchAlgorithmException: PBE SecretKeyFactory not available  
> at org.elasticsearch.common.settings.KeyStoreWrapper.(KeyStoreWrapper.java:150)  
> at org.elasticsearch.common.settings.KeyStoreWrapper.create(KeyStoreWrapper.java:163)  
> at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:641)  
> at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:215)  
> at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:204)  
> at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)  
> at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)  
> at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:75)  
> at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)  
> at org.elasticsearch.cli.Command.main(Command.java:90)  
> at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:48)  
> Caused by: java.security.NoSuchAlgorithmException: PBE SecretKeyFactory not available  
> at javax.crypto.SecretKeyFactory.(Unknown Source)  
> at javax.crypto.SecretKeyFactory.getInstance(Unknown Source)  
> at org.elasticsearch.common.settings.KeyStoreWrapper.(KeyStoreWrapper.java:147)  
> ... 10 more

> java -version  
> java version "1.8.0\_151"  
> Java(TM) SE Runtime Environment (build 8.0.5.5 - pxa6480sr5fp5-20171114\_01(SR5 FP5))  
> IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64 Compressed References 20171102\_369060 (JIT enabled, AOT enabled)  
> OpenJ9 - 7ade437  
> OMR - 1b656cb  
> IBM - 59c3d96)  
> JCL - 20171113\_01 based on Oracle jdk8u151-b12

Any one have idea about this issue?

Regard

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 16, 2018, 10:49am UTC](https://discuss.elastic.co/t/solved-installation-for-es-java-error/124269/2 "2018-03-16T10:49:48Z")

</div>

> [@StephanePapin](#):
>
> IBM J9 VM

As per the [support matrix](https://www.elastic.co/support/matrix#matrix_jvm), IBM JVMs are not supported. I would therefore recommend switching to a supported one.

---

<div class="post-metadata">

**Author:** ![StephanePapin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephanepapin/32/28868_2.png) [@StephanePapin](https://discuss.elastic.co/u/StephanePapin)\
**Post date:** [March 16, 2018, 1:12pm UTC](https://discuss.elastic.co/t/solved-installation-for-es-java-error/124269/3 "2018-03-16T13:12:37Z")

</div>

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 13, 2018, 1:13pm UTC](https://discuss.elastic.co/t/solved-installation-for-es-java-error/124269/4 "2018-04-13T13:13:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
