# X-Pack is not supported and Machine Learning is not available for \[windows-x86\]

**URL:** <https://discuss.elastic.co/t/x-pack-is-not-supported-and-machine-learning-is-not-available-for-windows-x86/85084>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [May 9, 2017, 12:20pm UTC](https://discuss.elastic.co/t/x-pack-is-not-supported-and-machine-learning-is-not-available-for-windows-x86/85084 "2017-05-09T12:20:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![P\_Charpentier](https://avatars.discourse-cdn.com/v4/letter/p/f475e1/32.png) [@P\_Charpentier](https://discuss.elastic.co/u/P_Charpentier)\
**Post date:** [May 9, 2017, 12:20pm UTC](https://discuss.elastic.co/t/x-pack-is-not-supported-and-machine-learning-is-not-available-for-windows-x86/85084/1 "2017-05-09T12:20:03Z")

</div>

Hi,

I'm trying ELK 5.4 on Windows but I have a problem with X-Pack and Machine Learning.

When I start Elasticsearch, I have an exception :

> [2017-05-09T14:09:59,381][WARN][o.e.b.ElasticsearchUncaughtExceptionHandler] uncaught exception in thread [main]  
> org.elasticsearch.bootstrap.StartupException: ElasticsearchException[X-Pack is not supported and Machine Learning is not available for [windows-x86]; you can use the other X-Pack features (unsupported) by setting xpack.ml.enabled: false in elasticsearch.yml]  
> at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:127) ~[elasticsearch-5.4.0.jar:5.4.0]  
> at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:114) ~[elasticsearch-5.4.0.jar:5.4.0]  
> at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67) ~[elasticsearch-5.4.0.jar:5.4.0]  
> at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) ~[elasticsearch-5.4.0.jar:5.4.0]  
> at org.elasticsearch.cli.Command.main(Command.java:88) ~[elasticsearch-5.4.0.jar:5.4.0]  
> at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.4.0.jar:5.4.0]  
> at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.4.0.jar:5.4.0]  
> Caused by: org.elasticsearch.ElasticsearchException: X-Pack is not supported and Machine Learning is not available for [windows-x86]; you can use the other X-Pack features (unsupported) by setting xpack.ml.enabled: false in elasticsearch.yml  
> at org.elasticsearch.xpack.ml.MachineLearningFeatureSet.isRunningOnMlPlatform(MachineLearningFeatureSet.java:112) ~[?:?]  
> at org.elasticsearch.xpack.ml.MachineLearningFeatureSet.isRunningOnMlPlatform(MachineLearningFeatureSet.java:103) ~[?:?]  
> at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:285) ~[?:?]  
> at org.elasticsearch.xpack.XPackPlugin.createComponents(XPackPlugin.java:288) ~[?:?]  
> at org.elasticsearch.node.Node.lambda$new$7(Node.java:410) ~[elasticsearch-5.4.0.jar:5.4.0]  
> at java.util.stream.ReferencePipeline$7$1.accept(Unknown Source) ~[?:1.8.0\_131]  
> at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) ~[?:1.8.0\_131]  
> at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:1.8.0\_131]  
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:1.8.0\_131]  
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) ~[?:1.8.0\_131]  
> at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:1.8.0\_131]  
> at java.util.stream.ReferencePipeline.collect(Unknown Source) ~[?:1.8.0\_131]  
> at org.elasticsearch.node.Node.(Node.java:412) ~[elasticsearch-5.4.0.jar:5.4.0]  
> at org.elasticsearch.node.Node.(Node.java:242) ~[elasticsearch-5.4.0.jar:5.4.0]  
> at org.elasticsearch.bootstrap.Bootstrap$6.(Bootstrap.java:242) ~[elasticsearch-5.4.0.jar:5.4.0]  
> at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:242) ~[elasticsearch-5.4.0.jar:5.4.0]  
> at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:360) ~[elasticsearch-5.4.0.jar:5.4.0]  
> at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) ~[elasticsearch-5.4.0.jar:5.4.0]  
> ... 6 more

Is it normal ? I didn't read that ML modules were not available for Windows

---

<div class="post-metadata">

**Author:** ![dkyle](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dkyle/32/59114_2.png) [@dkyle](https://discuss.elastic.co/u/dkyle)\
**Post date:** [May 9, 2017, 1:05pm UTC](https://discuss.elastic.co/t/x-pack-is-not-supported-and-machine-learning-is-not-available-for-windows-x86/85084/2 "2017-05-09T13:05:16Z")

</div>

Hi Pierre,

Unfortunately we don't build ML for 32bit architectures. Elastic only support x86\_64 in general, you can find more details here [https://www.elastic.co/support/matrix#show\_os](https://www.elastic.co/support/matrix#show_os).

As it says in the exception message you can run the other x-pack features unsupported by disabling ML. Set xpack.ml.enabled: false in elasticsearch.yml

---

<div class="post-metadata">

**Author:** ![P\_Charpentier](https://avatars.discourse-cdn.com/v4/letter/p/f475e1/32.png) [@P\_Charpentier](https://discuss.elastic.co/u/P_Charpentier)\
**Post date:** [May 9, 2017, 2:18pm UTC](https://discuss.elastic.co/t/x-pack-is-not-supported-and-machine-learning-is-not-available-for-windows-x86/85084/3 "2017-05-09T14:18:16Z")

</div>

Hi David,

I understand but I am using 64bit architecture. Maybe I didn't download the great version of elasticsearch ?  
I tried installation with this [link](https://www.elastic.co/blog/elastic-stack-5-4-0-released?ultron=machine-learning-launch&blade=announcement&hulk=email&mkt_tok=eyJpIjoiWXpsbU9XWmtZV1E0WW1OaiIsInQiOiJXOXBcL0hJRTFPRDA4bExWMVM0c1FhdDVUOWRuUGtPWjMwb1NjbjcxMFBGMlFXSE04WjFIY0xGa0JwYUtDRHBkVVIzYmpXcWNvSnVabUIxZFlMUFNXVXptbGR5Y0hodnZienprQ2hoNHU4QTQ3WGlRZGY4QW5QSU9XUFE2clpkdXkifQ%3D%3D)

---

<div class="post-metadata">

**Author:** ![droberts195](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/droberts195/32/17692_2.png) [@droberts195](https://discuss.elastic.co/u/droberts195)\
**Post date:** [May 9, 2017, 2:48pm UTC](https://discuss.elastic.co/t/x-pack-is-not-supported-and-machine-learning-is-not-available-for-windows-x86/85084/4 "2017-05-09T14:48:04Z")

</div>

Are you using a 32 bit JVM? We're detecting whether the OS is 32 bit or 64 bit inside Java. We could potentially look at how to detect that the OS is 64 bit even though the JVM is 32 bit, but is there any reason why you can't just use a 64 bit JVM?

---

<div class="post-metadata">

**Author:** ![P\_Charpentier](https://avatars.discourse-cdn.com/v4/letter/p/f475e1/32.png) [@P\_Charpentier](https://discuss.elastic.co/u/P_Charpentier)\
**Post date:** [May 9, 2017, 3:25pm UTC](https://discuss.elastic.co/t/x-pack-is-not-supported-and-machine-learning-is-not-available-for-windows-x86/85084/5 "2017-05-09T15:25:00Z")

</div>

The default Java version on [java.com](http://java.com) is 32 bit.  
I changed it and it works.

Thanks for your help.

---

<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:** [June 6, 2017, 3:32pm UTC](https://discuss.elastic.co/t/x-pack-is-not-supported-and-machine-learning-is-not-available-for-windows-x86/85084/6 "2017-06-06T15:32:51Z")

</div>

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