Installation java

(Stradivarius) #1

I've installed JRE and JDK 8.0_45
After running the elasticsearch.bat file, i got this message in the command line:
[WARN] [bootstrap] jvm uses the client vm, make sure to run 'java' with the server vm for best performance by adding '_server' to the command line

What does it mean?

Best regards

(Jason Wee) #2

check java version if elasticsearch is using the jdk version.

$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

(Stradivarius) #3

Hi Jason_Wee,
This is what i obtain while checking java version:
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) Client VM (build 25.45-b02, mixed mode, sharing)

(Jason Wee) #4

yea, client vm, find out how to use the server vm.

(system) #5