Hi All, I have installed the elasticsearch on my Ubuntu laptop . I have Java version 11 as well. However when I run the command ./elasticsearch , it is giving me the following errors. I am new to the elasticsearch, kindly help me out to solve this problem. I appreciate your kind help.
Venu@venu-INVALID:~/elasticsearch-6.5.4/bin$ java -version
java version "11.0.1" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
venu@venu-INVALID:~/elasticsearch-6.5.4/bin$ ./elasticsearch
Exception in thread "main" java.nio.file.AccessDeniedException: /home/venu/elasticsearch-6.5.4/config/jvm.options
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
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:215)
at java.base/java.nio.file.Files.newByteChannel(Files.java:370)
at java.base/java.nio.file.Files.newByteChannel(Files.java:421)
at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
at java.base/java.nio.file.Files.newInputStream(Files.java:155)
at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:60)