Using the config UI
Opening the UI
You can find the Java config UI for Maltego, by searching "Configure" in your start menu and clicking on the application with the Maltego icon.
The jar file needed to run the configure UI should be located in the following location:
Running the following command in your terminal, should launch the configure app:
java -jar /Applications/Maltego.app/Contents/Resources/Maltego/maltego-ui/modules/ext/Java_Config_App.jar
Selecting your Java installation
Once your have opened the configure UI, you can use the "Path" dropdown to select the Java installation to use when running Maltego.
By editing the config file
If you would prefer to edit the config file, rather than using the UI, you can edit the following text file:
C:\Users\< username >\AppData\Roaming\.maltego\v<maltego_version>\etc\maltego.conf
Add/change the variable "jdkhome" to point to the path of your java installation.