This article applies to Nexus Repository Manager 3.1 and greater only.
Normally we recommend installing your license file using the user interface. In some cases we realize this may not be ideal, so this article outlines some alternative methods.
Copying an already installed license file into place
The Nexus Repository Manager license is stored in the Java user preferences store directory on Linux and Mac OSX. This solution will not work for Windows, as the license is stored in the Windows Registry there.
Once installed, on Linux the product license can be found in the home directory of the user running Nexus at this location:
So you can install the license through the UI on one host and then just copy that file over to a new host or different user account and you'll have an installed license for that user account.
Find and edit the file <app_dir>/bin/nexus.vmoptions
At the end of the file, add a new line like this:
The absolute path should point to an already created directory readable by the user account running the repository manager process. Under this new directory, Nexus will expect to find the license file at a path