Guide: Running HepRApp for Visualisation on Modern Linux in 2024
I have seen other forum posts already detailing the steps to run HepRApp on a modern linux system, however I thought I would combine that information into a single place so that it is easily accessible.
The main difficulty with running HepRApp on modern systems, is that recent versions of Java no longer work with HepRApp so an older version of Java will have to be installed.
Steps:
1.) Download the Java Runtime Environment version 1.7. You can find it here. Scroll to the bottom of the page to find the Runtime environment (not the development kit, though that will work too) and make sure to download the Linux x64 version and not the x86 version (“jre-7u80-linux-x64.tar.gz”). You will have to make an Oracle account in order to proceed with the download.
2.) Once the JRE 1.7 tar.gz is downloaded extract it and place it in a folder of your choice.
3.) Add the Java Runtime Environment to your path. This can be done by calling the command: export PATH=“/your/path/to/Java/on/your/system/here/jre1.7.0_80/bin:$PATH” from the terminal. I also recommend putting the above command into your .bashrc file so that you don’t have to call it every time you open a terminal.
4.) Then, assuming you have HepRApp downloaded from the web . You can call the command “java -jar HepRApp.jar” (assuming you are in the same folder as your HepRApp.jar file), and HepRApp should open succesfully.
I hope this is useful to some users,
Best,
Joseph