Open navigation

Which version of Java should I use and how do I configure it?

Modified on: Tue, 4 Apr, 2023 at 9:48 AM

Preferred Java Versions

Maltego runs on Java 8, Java 11 and Java 17.


Maltego supports Java LTS (Long Term Support) versions - currently Java 8, Java 11 and Java 17.


How to use Maltego's 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.


image

*

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
Generic


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
Generic


On Linux:

In the Start Menu, search "Maltego Memory Config"


image1


or run Maltego_memory_config in terminal


/usr/bin/maltego_memory_config
Generic


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.


image


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:


Windows:

Version 4.3.X and above:

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


Maltego 4.2.19 and below:

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


On Mac:

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


On Linux:

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


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"
Generic



Did you find it helpful? Yes No

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