Updating Java Version Used for Nexus Repository 3 on Windows

Nexus Repository Manager 3 on Windows bundles its own JRE. If you want to update to a different version of Java you will need to override the version shipped with Nexus.

You can do that as follows:

  1. In the installation directory there is a .install4j directory
  2. In this directory create a file named pref_jre.cfg if it does not exist.
  3. In the file put the complete path to the root directory ( JAVA_HOME ) of the Java installation you want to use.


C:/Program Files/Java/jre1.8.0_181

You will need to restart Nexus for this change to take effect.


Have more questions? Submit a request


Article is closed for comments.