I'm in the process of upgrading ElasticSearch for my company. To start this, I need the old version (1.1.2) running on my machine, which is running OSX Sierra (10.12.6). I have elasticsearch@1.1.2
downloaded from my company's repository, but it's not starting properly. I'm getting this:
$ brew services list
Name Status User Plist
elasticsearch@1.1.2 started pjscopeland /Users/pjscopeland/Library/LaunchAgents/homebrew.mxcl.elasticsearch@1.1.2.plist
... but Homebrew's status "started
" is yellow, where the rest of them are green, and if I run it manually, I get this:
$ elasticsearch
Java HotSpot(TM) 64-Bit Server VM warning: Option UseParNewGC was deprecated in version 9.0 and will likely be removed in a future release.
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:190)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
Caused by: java.lang.UnsupportedOperationException: Boot class path mechanism is not supported
at java.management/sun.management.RuntimeImpl.getBootClassPath(RuntimeImpl.java:99)
at org.elasticsearch.monitor.jvm.JvmInfo.<clinit>(JvmInfo.java:77)
... 2 more
NB. Please bear in mind, my Java skills are at a level where I might just be able to read it, but probably not work out anything I might need to change.