Difference between revisions of "Changing Java Virtual Machine On Windows"

From LogicalDOC Community Wiki
Jump to navigationJump to search
Line 2: Line 2:
  
 
As soon as you have the right java installed in the LogicalDOC's server, then proceed to configure it as follows.
 
As soon as you have the right java installed in the LogicalDOC's server, then proceed to configure it as follows.
 +
<br/>
 
Assuming '''<LDOC_HOME>''' the installation folder of LogicalDOC (eg: C:\LogicalDOC).
 
Assuming '''<LDOC_HOME>''' the installation folder of LogicalDOC (eg: C:\LogicalDOC).
 
'''''Open a Command Prompt with elevated privileges (Run as Administrator)''''' and execute these commands:
 
'''''Open a Command Prompt with elevated privileges (Run as Administrator)''''' and execute these commands:

Revision as of 10:05, 4 March 2024

Please read first | how to install the right Java to use with LogicalDOC.

As soon as you have the right java installed in the LogicalDOC's server, then proceed to configure it as follows.
Assuming <LDOC_HOME> the installation folder of LogicalDOC (eg: C:\LogicalDOC). Open a Command Prompt with elevated privileges (Run as Administrator) and execute these commands:

cd C:\LogicalDOC\tomcat\bin
LogicalDOCw.exe //MS//LogicalDOC    (if you do not have LogicalDOCw.exe use tomcat8w.exe instead)

A new tray icon with the LogicalDOC logo appears:
Ldoc tray.png

Right click on it and choose Configure...
Now open the Java tab:
Java-virtual-machine.png

In the field Java Virtual Machine choose the path where is located the jvm.dll file of the Java runtime you want to use.

When done click on Apply and restart the LogicalDOC service