I am trying to run Elasticsearch on Ubuntu 19.10, which was released just three days ago.
- I downloaded the Elasticsearch 7.4.0 .tar.gz file from https://www.elastic.co/downloads/elasticsearch
- I extracted the .tar.gz
- I tried executing
- The output was:
ubuntu@ubuntu:~/Downloads/elasticsearch-7.4.0-linux-x86_64/elasticsearch-7.4.0/bin$ ./elasticsearch Exception in thread "main" java.lang.RuntimeException: starting java failed with  output: error: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. at org.elasticsearch.tools.launchers.JvmErgonomics.flagsFinal(JvmErgonomics.java:111) at org.elasticsearch.tools.launchers.JvmErgonomics.finalJvmOptions(JvmErgonomics.java:79) at org.elasticsearch.tools.launchers.JvmErgonomics.choose(JvmErgonomics.java:57) at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:89)
Obviously there is a Java exception, and while I don't have Java installed, it should presumably be using the bundled JDK.
I know there are other options such as the .deb package, but I wanted to give it a try running it like this, and have no idea why it won't work.