Hi
Elastic 7.5.1 was installed from tar.gz
Config is :
export ES_HOME=/var/vcap/jobs/elasticsearch
export ES_PATH_CONF=${ES_HOME}/config
I have following issue
Exception in thread "main" java.nio.file.NoSuchFileException: /var/vcap/jobs/elasticsearch/config/jvm.options
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
at java.base/java.nio.file.Files.newByteChannel(Files.java:374)
at java.base/java.nio.file.Files.newByteChannel(Files.java:425)
at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
at java.base/java.nio.file.Files.newInputStream(Files.java:159)
at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:62)
jvm.options locates in /var/vcap/packages/elasticsearch/config/jvm.options
I have config files in /var/vcap/jobs/elasticsearch/config/
/var/vcap/jobs/elasticsearch/config/elasticsearch.yml
Also In elasticsearch 5.2.2 I didn't face this issue . It looks like 5.2.2 didn't need jvm.options at all.
So question is how can I use jvm.options from another location as elasticsearch.yml?