Open navigation

How do I configure the version of Java used by Maltego?

Modified on: Mon, 22 Jun, 2020 at 12:32 AM

How to use the Java Config UI

Opening the UI

On Windows:

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.



On Mac:

The jar file needed to run the Config UI should be located in the following location:


/Applications/Maltego.app/Contents/Resources/Maltego/maltego-ui/modules/ext/Java_Config_App.jar


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


On Linux

In the Start Menu, search "Maltego Memory Config"



or run Maltego_memory_config in terminal


/usr/bin/maltego_memory_config


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.



Editing the Java Config file

If you would prefer to edit the config file rather than using the UI, you can edit the following text file:


On Windows:

C:\Users\< username >\AppData\Roaming\.maltego\v<maltego_version>\etc\maltego.conf

On Mac:

Applications/Maltego.app/Contents/Resources/Maltego/etc/Maltego.conf

On Linux:

/home/< username >/.maltego/< maltego_version >/etc/maltego.conf


Add/change the variable "jdkhome" in maltego.conf to point to the path of your Java installation.


jdkhome="C:\Program Files\Java\jre1.8.0_171"


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.