Java: selecting Java version

Answer: It is possible to manually point TOPdesk to the correct Java version. This may be required if TOPdesk does not automatically find the correct version.

Answer: It is possible to manually point TOPdesk to the correct Java version. This may be required if TOPdesk does not automatically find the correct version. Note that may interfere with (automatic) Java updates in the future. We recommend using the default setting if possible. The current Java version can be selected as follows: ⒈Check the config.0.txt. It should contain the current or last used Java version. ◦Also note date and time stamp. Java has to start to log to this file. ⒉Check KI 9946 for the appropriate version of Java for your TOPdesk version. ⒊Check the path to the installation folder of the appropriate Java version. ◦Usually the different Java versions can be found under Program Files\Java. Or 32-bit: Program Files (x86)\Java. Usually TOPdesk requires a 64-bit version, unless using a very old version. Make a note of the path to the java-executable, e.g.: C:\Program Files\Java\jre1.8.0_171\bin\java (no quotes, and remove the .exe extension) ⒋Go to the TOPdesk installation folder. ⒌Use Notepad (or other word processor) to open the file topdesk.conf. ⒍In the topdesk.conf file, below the line '# Java Application', look for the line 'wrapper.java.command= '. ◦The path on this line points to the Java version for TOPdesk. If it says 'wrapper.java.command=java', then TOPdesk will use the default Java version. Usually this is the most recently installed Java version. ⒎In the topdesk.conf file, replace the java command with the path you noted on the line 'wrapper.java.command= . It should look something like this: wrapper.java.command=C:\Program Files\Java\jre1.8.0_171\bin\java Database tool or settings management (when run on the server) If similar issues occur in the database tool or settings management (when run on the server): Repeat from step 4 for the databasetool.conf and dedicatedclient.conf files. Additional information: Why multiple Java versions? This can be required if multiple versions of Java have been installed, for instance Java 7 and Java 8, or in case both 32 and 64 bit versions are available. Multiple versions of Java may for example be necessary to run multiple environments, each requiring a specific Java version. NOTE: When the topdesk.conf file just says 'Java' as path, TOPdesk uses the Java installation which the server notes as the standard Java installation. To check which version of Java is the standard you can do the following steps: ⒈Open command prompt (search in start for cmd) ⒉Search for the following term: java -version