# Can't open HepRep.jar browser

**URL:** <https://geant4-forum.web.cern.ch/t/cant-open-heprep-jar-browser/9590>\
**Category:** Recording, Visualizing and Persisting Data\
**Created:** [December 23, 2022, 4:41pm UTC](https://geant4-forum.web.cern.ch/t/cant-open-heprep-jar-browser/9590 "2022-12-23T16:41:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergey\_amirkhanyan](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/s/e19b73/32.png) [@sergey\_amirkhanyan](https://geant4-forum.web.cern.ch/u/sergey_amirkhanyan)\
**Post date:** [December 23, 2022, 4:41pm UTC](https://geant4-forum.web.cern.ch/t/cant-open-heprep-jar-browser/9590/1 "2022-12-23T16:41:04Z")

</div>

I use Ubuntu 22.04 version. After downloading HepRep.jar file from here [HepRApp Users Home Page](https://www.slac.stanford.edu/~perl/HepRApp/#java) 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)

What is the problem ?

---

<div class="post-metadata">

**Author:** ![allison](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/90db22/32.png) [@allison](https://geant4-forum.web.cern.ch/u/allison)\
**Post date:** [December 23, 2022, 9:13pm UTC](https://geant4-forum.web.cern.ch/t/cant-open-heprep-jar-browser/9590/2 "2022-12-23T21:13:46Z")

</div>

Hi Sergey

I’m afraid I can’t help specifically but I do know that HepRApp is picky about Java versions. Have you tried searching the Forum for HepRApp or Java?

If you still have no luck, let us know and I’ll forward this to an expert. It’s worth persisting to get HepRApp to work.

John

---

<div class="post-metadata">

**Author:** ![sergey\_amirkhanyan](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/s/e19b73/32.png) [@sergey\_amirkhanyan](https://geant4-forum.web.cern.ch/u/sergey_amirkhanyan)\
**Post date:** [December 26, 2022, 10:53am UTC](https://geant4-forum.web.cern.ch/t/cant-open-heprep-jar-browser/9590/3 "2022-12-26T10:53:57Z")

</div>

> [@sergey\_amirkhanyan](#):
>
> Exception occurred in main() of HepRApp: j

I couldn’t found solution of the problem. Please forward it to an expert.

---

<div class="post-metadata">

**Author:** ![allison](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/90db22/32.png) [@allison](https://geant4-forum.web.cern.ch/u/allison)\
**Post date:** [January 20, 2023, 9:15am UTC](https://geant4-forum.web.cern.ch/t/cant-open-heprep-jar-browser/9590/4 "2023-01-20T09:15:03Z")

</div>

Hi Sergey

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.

According the [HepRApp web site](https://www.slac.stanford.edu/~perl/HepRApp/), it was last updated:

```auto
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.

With apologies  
John

---

<div class="post-metadata">

**Author:** ![Jiancheng\_Zeng](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/jiancheng_zeng/32/6077_2.png) [@Jiancheng\_Zeng](https://geant4-forum.web.cern.ch/u/Jiancheng_Zeng)\
**Post date:** [February 13, 2023, 5:38pm UTC](https://geant4-forum.web.cern.ch/t/cant-open-heprep-jar-browser/9590/5 "2023-02-13T17:38:30Z")

</div>

Hi Sergey,

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

 ![Screen Shot 2023-02-13 at 9.36.21 AM](https://geant4-forum.web.cern.ch/uploads/default/original/2X/d/da0e63c94c01f805eab5c4a8ea798c9941defb0d.jpeg)

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.

Jiancheng

---

<div class="post-metadata">

**Author:** ![allison](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/90db22/32.png) [@allison](https://geant4-forum.web.cern.ch/u/allison)\
**Post date:** [February 13, 2023, 7:36pm UTC](https://geant4-forum.web.cern.ch/t/cant-open-heprep-jar-browser/9590/6 "2023-02-13T19:36:42Z")

</div>

Dear Jiancheng

Thankyou for this tip. Very, very helpful.

John
