Printer FriendlyEmail Article Link

TTworkbench: How to change the built-in JDK setting for TTworkbench to my own one?

Objective/Summary
Change the built-in JDK setting in TTworkbench to use an other version
Environment/Versions
  • TTworkbench 28 or newer
  • Microsoft Windows/Linux
Procedure
Close TTworkbench and modify the ttworkbench.ini file (located in TTworkbench installation directory) with any text editor by adapting the  "-vm" option  line :
-vm jdk/bin

The line with the -vm option must point to your JDK bin directory e.g.:
-vm
C:\Java\open-jdk13.x.x\jdk13.x.x\bin\
-vmargs
...


Alternatively, you can change the version at run-time  in Window > Preferences > Execution - TTman > Use specific java version.
Notes
 
  • Which Java is currently used can be seen in Help > About TTworkbench > Installation Details > Configuration tab
  • To be absolutely safe, the JDK directory in the TTworkbench installation can also be deleted after the change (in case of using an other version)
  • The TTworkbench 29 package contains an OpenJDK 13 installation in the "jdk" subfolder of the TTworkbench installation folder
  • The TTworkbench 28 package contains an OpenJDK 12 installation in the "jdk" subfolder of the TTworkbench installation folder