title: Installing nexus error: The version of the JVM must be at least 1.8 and at most 1.8
body: <p>I have installed <code>Nexus</code> on <code>Ubuntu 18.04 LTS</code>. When I want to start <code>Nexus</code> service I get this error:</p>
  
  <pre><code>nexus[24049]: No suitable Java Virtual Machine could be found on your system.
  nexus[24049]: The version of the JVM must be at least 1.8 and at most 1.8.
  nexus[24049]: Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.
  systemd[1]: nexus.service: Control process exited, code=exited status=83
  systemd[1]: nexus.service: Failed with result 'exit-code'.
  systemd[1]: Failed to start LSB: nexus.
  </code></pre>
  
  <p>I have <code>Open JDK version 10.0.2</code> installed in my system:  </p>
  
  <pre><code>openjdk version "10.0.2" 2018-07-17
  OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
  OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)
  </code></pre>
  
  <p>My question is why <code>Nexus</code> uses <strong>ONLY</strong> JDK8? and am I able to have both JDK versions alongside?</p>