I use Ubuntu 22.04 version. After downloading HepRep.jar file from here HepRApp Users Home Page try to open it via java -jar command. The java version is 1.8.0_352. But browser is not running. In terminal there are shown that:
Exception occurred in main() of HepRApp: java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
at java.lang.Runtime.runFinalizersOnExit(Runtime.java:287)
at java.lang.System.runFinalizersOnExit(System.java:1059)
at heprapp.application.Main.run(Main.java:196)
at heprapp.application.Main.main(Main.java:180)
I’m afraid I’ve not been able to get any help on this topic. For the moment, all I can say is that HepRApp does not seem to be available with recent versions of Java.
29 March 2016 - Version 3.15.4
Updated for newer Java versions. Now works for Java 1.7 and 1.8. Thanks to Brian Smith of Kromek Group plc
so all I can recommend is that you install that version of Java, if possible.
An alternative might be the VRLM2FILE driver. Almost any web browser can display the files it produces, but, of course, the very nice Geant4-specific features of HepRApp are absent.
I ran into same issue recently and I was using Ubuntu 22.04 version + java 1.8.0_352. After tring all the java versions I could find, I succeeded run HepRApp with Java 1.7.0_80. See screenshot below
Not eactly sure what is the cause. I was able to run it with java 1.8.0_352 for more than 2 years and suddenly this configuration doesn’t work anymore.
Just sharing my solution. And maybe somebody knows java more coud explain this.