<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.logicaldoc.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Switch_to_Java25_on_Linux</id>
	<title>Switch to Java25 on Linux - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.logicaldoc.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Switch_to_Java25_on_Linux"/>
	<link rel="alternate" type="text/html" href="http://wiki.logicaldoc.com/wiki/index.php?title=Switch_to_Java25_on_Linux&amp;action=history"/>
	<updated>2026-07-10T21:57:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://wiki.logicaldoc.com/wiki/index.php?title=Switch_to_Java25_on_Linux&amp;diff=5545&amp;oldid=prev</id>
		<title>Car031: Created page with &quot;=== Reconfigure LogicalDOC to use Java 25 on Linux ===  Starting from version 9.3.1 LogicalDOC does not work with Java 21 anymore so you have to install Java 25. Please read first [https://docs.logicaldoc.com/en/installation how to install the right Java to use with LogicalDOC].  It is important to install Java 25 and not Java 26 nor Java 27, because Java 25 is the latest LTS (Long Term Support) release available at the moment.&lt;br&gt;&lt;br&gt;  Given &#039;&#039;&#039;&lt;LDOC_HOME&gt;&#039;&#039;&#039; the instal...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.logicaldoc.com/wiki/index.php?title=Switch_to_Java25_on_Linux&amp;diff=5545&amp;oldid=prev"/>
		<updated>2026-07-10T06:42:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== Reconfigure LogicalDOC to use Java 25 on Linux ===  Starting from version 9.3.1 LogicalDOC does not work with Java 21 anymore so you have to install Java 25. Please read first [https://docs.logicaldoc.com/en/installation how to install the right Java to use with LogicalDOC].  It is important to install Java 25 and not Java 26 nor Java 27, because Java 25 is the latest LTS (Long Term Support) release available at the moment.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;  Given &amp;#039;&amp;#039;&amp;#039;&amp;lt;LDOC_HOME&amp;gt;&amp;#039;&amp;#039;&amp;#039; the instal...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Reconfigure LogicalDOC to use Java 25 on Linux ===&lt;br /&gt;
&lt;br /&gt;
Starting from version 9.3.1 LogicalDOC does not work with Java 21 anymore so you have to install Java 25.&lt;br /&gt;
Please read first [https://docs.logicaldoc.com/en/installation how to install the right Java to use with LogicalDOC].&lt;br /&gt;
&lt;br /&gt;
It is important to install Java 25 and not Java 26 nor Java 27, because Java 25 is the latest LTS (Long Term Support) release available at the moment.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given &amp;#039;&amp;#039;&amp;#039;&amp;lt;LDOC_HOME&amp;gt;&amp;#039;&amp;#039;&amp;#039; the installation path of LogicalDOC (by default it is /LogicalDOC), please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
1. Install [https://docs.logicaldoc.com/en/installation Java 26 from Oracle or OpenJDK25]&lt;br /&gt;
&lt;br /&gt;
Hint for Ubuntu:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;$ apt install -y openjdk-25-jdk&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. manage othe version of Java on the same server&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have a previous version of Java installed, you should set the latest installed as default version using the &amp;lt;em&amp;gt;update-alternatives&amp;lt;/em&amp;gt; command.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo update-alternatives --config java&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. With VI, or any other text editor, open the file &amp;#039;&amp;#039;&amp;#039;&amp;lt;LDOC_HOME&amp;gt;&amp;#039;&amp;#039;&amp;#039;/bin/logicaldoc.sh.&lt;br /&gt;
Inside that file, locate the variable &amp;#039;&amp;#039;&amp;#039;JAVA_HOME&amp;#039;&amp;#039;&amp;#039; and make sure it points to the Java 25 installation folder:&amp;lt;br&amp;gt;&lt;br /&gt;
Probable path in Ubuntu:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;export JAVA_HOME=/usr/lib/jvm/default-java&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Iterate the point 2 for this list of additional files:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;LDOC_HOME&amp;gt;&amp;#039;&amp;#039;&amp;#039;/bin/update.sh&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;LDOC_HOME&amp;gt;&amp;#039;&amp;#039;&amp;#039;/bin/patch.sh&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;LDOC_HOME&amp;gt;&amp;#039;&amp;#039;&amp;#039;/bin/restart.sh&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;LDOC_HOME&amp;gt;&amp;#039;&amp;#039;&amp;#039;/bin/reset-passwd.sh&lt;br /&gt;
&lt;br /&gt;
5. Restart LogicalDOC&lt;br /&gt;
&lt;br /&gt;
=== Additional information ===&lt;br /&gt;
* [https://linuxize.com/post/install-java-on-ubuntu-24-04/ How to Install Java 25 on Ubuntu 24.04 ]&lt;/div&gt;</summary>
		<author><name>Car031</name></author>
	</entry>
</feed>