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

From LogicalDOC Community Wiki
Jump to navigationJump to search
(Created page with "Assuming '''<LDOC_HOME>''' the installation folder of LogicalDOC (eg: C:\LogicalDOC). '''''Open a Command Prompt with elevated privileges (Run as Administrator)''''' and execu...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Please read first [https://docs.logicaldoc.com/en/installation | 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.
 +
<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:
 
<pre>
 
<pre>
cd C:\LogicalDOC\tomcat\bin
+
cd <LDOC_HOME>\tomcat\bin
 
LogicalDOCw.exe //MS//LogicalDOC    (if you do not have LogicalDOCw.exe use tomcat8w.exe instead)
 
LogicalDOCw.exe //MS//LogicalDOC    (if you do not have LogicalDOCw.exe use tomcat8w.exe instead)
 
</pre>
 
</pre>
Line 13: Line 17:
 
[[Image:java-virtual-machine.png]]
 
[[Image:java-virtual-machine.png]]
  
In the field '''Java Vietual Machine''' choose the path where is the jvm.dll file of the Java runtime you want to use.<br />
+
In the field '''Java Virtual Machine''' choose the path where is located the '''jvm.dll''' file of the Java runtime you want to use.<br />
  
 
When done click on '''Apply''' and restart the '''LogicalDOC''' service
 
When done click on '''Apply''' and restart the '''LogicalDOC''' service

Latest 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 <LDOC_HOME>\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