Difference between revisions of "Switch to Java17 on Windows"
(Created page with "=== Reconfigure LogicalDOC to use Java 17 on Windows === Starting from version 8.9.1 LogicalDOC does not work with Java11 anymore so you have to install Java11. It is import...") |
|||
Line 1: | Line 1: | ||
=== Reconfigure LogicalDOC to use Java 17 on Windows === | === Reconfigure LogicalDOC to use Java 17 on Windows === | ||
− | Starting from version 8.9.1 LogicalDOC does not work with | + | Starting from version 8.9.1 LogicalDOC does not work with Java8 anymore so you have to install Java11. |
− | It is important to install Java17, because Java17 is the latest LTS(Long Term Support) release available at the moment. | + | It is important to install Java17 and not Java18 nor Java19, because Java17 is the latest LTS(Long Term Support) release available at the moment. |
Given '''<LDOC_HOME>''' the installation path of LogicalDOC(by default it is C:\LogicalDOC), please proceed as follows: | Given '''<LDOC_HOME>''' the installation path of LogicalDOC(by default it is C:\LogicalDOC), please proceed as follows: | ||
− | 1. Install Java11 from Oracle or | + | 1. Install Java11 from Oracle or OpenJDK17 |
2. Open a shell as Administator and go to '''<LDOC_HOME>'''\tomcat\bin\ | 2. Open a shell as Administator and go to '''<LDOC_HOME>'''\tomcat\bin\ | ||
− | 3. Execute the command ''' | + | 3. Execute the command '''LogicalDOCw.exe //MS/LogicalDOC''' |
4. This creates a tray icon with the LogicalDOC’s logo | 4. This creates a tray icon with the LogicalDOC’s logo | ||
Line 19: | Line 19: | ||
6. Now open the <b>Java</b> tab<br/> | 6. Now open the <b>Java</b> tab<br/> | ||
− | [[Image: | + | [[Image:Java-virtual-machine.png]] |
7. In the '''Java Virtual Machine''' put the full path of your jvm.dll (something like C:\Program Files\Java\jdk-11.0.4\bin\server) | 7. In the '''Java Virtual Machine''' put the full path of your jvm.dll (something like C:\Program Files\Java\jdk-11.0.4\bin\server) | ||
− | 8. | + | 8. Click on '''Apply''' and then '''Ok''' |
− | + | 9. Restart the '''LogicalDOC''' service | |
− | + | 10. Open a shell as Administator and go to '''<LDOC_HOME>'''\update-wd | |
− | + | 11. Execute the command '''update-wdw.exe //MS/LogicalDOC-Update'' | |
− | + | 12. This creates another tray icon with the LogicalDOC’s logo | |
− | + | 13. Right click on it and choose <b>Configure...</b><br/> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | 13 | ||
− | |||
− | |||
− | |||
− | |||
[[Image:update_tray.png]] | [[Image:update_tray.png]] | ||
16. Now open the <b>Java</b> tab<br/> | 16. Now open the <b>Java</b> tab<br/> | ||
− | [[Image: | + | [[Image:udpatewd-java17.png]] |
− | + | 14. In the '''Java Virtual Machine''' put the full path of your jvm.dll (something like C:\Program Files\Java\jdk-11.0.4\bin\server) | |
− | + | 15. Click on '''Apply''' and then '''Ok''' | |
19. Define the a system variable '''JAVA_HOME''' pointing to the Java11 installation path (something like C:\Program Files\Java\jdk-11.0.4) | 19. Define the a system variable '''JAVA_HOME''' pointing to the Java11 installation path (something like C:\Program Files\Java\jdk-11.0.4) | ||
20. Restart the '''LogicalDOC Update''' service | 20. Restart the '''LogicalDOC Update''' service |
Revision as of 12:40, 5 March 2024
Reconfigure LogicalDOC to use Java 17 on Windows
Starting from version 8.9.1 LogicalDOC does not work with Java8 anymore so you have to install Java11.
It is important to install Java17 and not Java18 nor Java19, because Java17 is the latest LTS(Long Term Support) release available at the moment.
Given <LDOC_HOME> the installation path of LogicalDOC(by default it is C:\LogicalDOC), please proceed as follows:
1. Install Java11 from Oracle or OpenJDK17
2. Open a shell as Administator and go to <LDOC_HOME>\tomcat\bin\
3. Execute the command LogicalDOCw.exe //MS/LogicalDOC
4. This creates a tray icon with the LogicalDOC’s logo
5. Right click on it and choose Configure...
7. In the Java Virtual Machine put the full path of your jvm.dll (something like C:\Program Files\Java\jdk-11.0.4\bin\server)
8. Click on Apply and then Ok
9. Restart the LogicalDOC service
10. Open a shell as Administator and go to <LDOC_HOME>\update-wd
11. Execute the command 'update-wdw.exe //MS/LogicalDOC-Update
12. This creates another tray icon with the LogicalDOC’s logo
13. Right click on it and choose Configure...
14. In the Java Virtual Machine put the full path of your jvm.dll (something like C:\Program Files\Java\jdk-11.0.4\bin\server)
15. Click on Apply and then Ok
19. Define the a system variable JAVA_HOME pointing to the Java11 installation path (something like C:\Program Files\Java\jdk-11.0.4)
20. Restart the LogicalDOC Update service