#872418 jmol: Weblinks in Help do not work

#872418#5
Date:
2017-08-17 09:40:02 UTC
From:
To:
Dear Maintainer,

the weblinks in the Help of Jmol do not work. They should start a webbrowser
and display the help pages. In my case, nothing happens when I click on the
weblinks.

Help --> Jmol Wiki
Help --> About Jmol --> several weblinks

(I am working on an xfce desktop)

#872418#10
Date:
2017-08-17 10:36:24 UTC
From:
To:
in addition to my bug report. If I press the right mouse button in the main
window, then
About --> Jmol --> http://www.jmol.org

the following message appears:
Java 6 Desktop.browse() capability unavailable. Could not open http://www.jmol.org

#872418#15
Date:
2021-10-08 21:56:13 UTC
From:
To:
Hello Martin,

On Thu, 17 Aug 2017 11:40:02 +0200 Martin Lutz <m.lutz@uu.nl> wrote:
 > Package: jmol
 > Version: 14.6.4+2016.11.05+dfsg1-3
 > Severity: normal
 >
 > Dear Maintainer,
 >
 > the weblinks in the Help of Jmol do not work. They should start a
webbrowser
 > and display the help pages. In my case, nothing happens when I click
on the
 > weblinks.
 >
 > Help --> Jmol Wiki
 > Help --> About Jmol --> several weblinks
 >
 > (I am working on an xfce desktop)
 >

Thanks for this bug report and for the additional information you
provided in the thread [0]. Sorry we did not address it before.

Are you still using jmol, and if so, could you please see if this
problem still shows up? I cannot reproduce it as the webpages open
successfully, but maybe you are still encountering the issue?

 >
 > -- System Information:
 > Debian Release: buster/sid
 > APT prefers testing
 > APT policy: (500, 'testing')
 > Architecture: amd64 (x86_64)
 >
 > Kernel: Linux 4.11.0-1-amd64 (SMP w/8 CPU cores)
 > Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
 > Shell: /bin/sh linked to /bin/dash
 > Init: systemd (via /run/systemd/system)
 >
 > Versions of packages jmol depends on:
 > ii default-jre 2:1.8-59
 > ii libjmol-java 14.6.4+2016.11.05+dfsg1-3
 >
 > jmol recommends no packages.
 >
 > jmol suggests no packages.
 >
 > -- no debconf information
 >
 >

Thanks a lot and best wishes,

#872418#22
Date:
2021-10-10 11:24:44 UTC
From:
To:
Dear Pierre,

I confirm that the problem still exists. Clicking on the links in the Help menu does not open a webbrowser. I have installed the Debian package with version 14.6.4+2016.11.05+dfsg1-4.

splash_image=jar:file:/usr/share/java/Jmol-14.6.4+2016.11.05.jar!/org/openscience/jmol/app/images/Jmol_splash.jpg
history file is /home/lutz/.jmol/history
user properties file is /home/lutz/.jmol/properties
(C) 2015 Jmol Development
Jmol Version: 14.6.4_2016.11.05  2016-11-10 03:30
java.vendor: Java: Debian
java.version: Java 11.0.12
os.name: Linux
Access: ALL
memory: 24.3/132.1
processors available: 8
useCommandThread: false
User macros dir: /home/lutz/.jmol/macros
       exists: false
  isDirectory: false

Best wishes,
Martin

#872418#27
Date:
2021-10-11 15:35:52 UTC
From:
To:
Dear Martin,

Le 10/10/2021 à 13:24, Lutz, M.H. (Martin) a écrit :

Thanks for having a look again such a long time after your initial report!

I admit I have no idea to fix the bug at the moment. I will try to have
access to another workstation with xfce to do further tests...

Thanks for these details as well.

Best regards,

#872418#36
Date:
2021-11-27 14:15:33 UTC
From:
To:
Hello,

I have just been able to reproduce the bug with version 14.30.2+dfsg-2
on an xfce desktop.

Besides, I have forwarded the issue to the upstream bug tracker.

#872418#43
Date:
2026-04-23 08:59:23 UTC
From:
To:
Because of recent update of Jmol in the repositories to version 16.3.55 (at
present the same release as on sourceforge) to testing (Deb 14/forky) and
backport-stable (Deb 13/trixie) I notice Jmol «works differently» depending on
the Debian release.  I know too little about Java to tell if this is relevant
/ may provide help.


1) Debian 14/forky (at present testing).  Either I unzip the .binary.zip from
[sourceforge] to then cd into the decompressed archive, and launch Jmol by
`java -jar ./Jmol.jar &` on the BASH, or I install Jmol with synaptic and
launch the viewer by `jmol` in the BASH: the program launches, the links in
the «about Jmol» widget are recognized (because the cursor changes it shape
while hovering over them), and functional (i.e., firefox starts to access the
pages\*).

This instance of Debian 14/forky/testing setup is

```bash
$ java --version
openjdk 25.0.3-ea 2026-04-21
OpenJDK Runtime Environment (build 25.0.3-ea+7-Debian-2)
OpenJDK 64-Bit Server VM (build 25.0.3-ea+7-Debian-2, mixed mode, sharing)
```

Complementary, after Jmol 16.3.55 is installed from Debian's repositories:

```bash
$ apt list --installed "*java*" "*jdk*" "*jre*" "*openjdk*"
ca-certificates-java/testing,testing,now 20260311 all [installed,automatic]
default-jre-headless/testing,now 2:1.25-77 amd64 [installed,automatic]
default-jre/testing,now 2:1.25-77 amd64 [installed]
java-common/testing,testing,now 0.77 all [installed,automatic]
javascript-common/testing,testing,stable,stable,now 12+nmu1 all
[installed,automati>
libatk-wrapper-java-jni/testing,now 0.44.0-1 amd64 [installed,automatic]
libatk-wrapper-java/testing,testing,now 0.44.0-1 all [installed,automatic]
libbeam-java/testing,testing,stable,stable,now 1.3.9-1 all
[installed,automatic]
libcommons-cli-java/testing,testing,stable,stable,now 1.6.0-1 all
[installed,automa>
libjavascriptcoregtk-4.0-18/now 2.42.5-1 amd64 [installed,local]
libjavascriptcoregtk-4.1-0/testing,now 2.50.6-1 amd64 [installed]
libjavascriptcoregtk-6.0-1/testing,now 2.50.6-1 amd64 [installed,automatic]
libjmol-java/testing,testing,now 16.3.55+dfsg-1 all [installed,automatic]
libjna-inchi-java/testing,testing,stable,stable,now 1.3.1+dfsg-1 all
[installed,aut>
libjna-java/testing,testing,now 5.18.1-1 all [installed,automatic]
libjoptsimple-java/testing,testing,stable,stable,now 5.0.4-7 all
[installed,automat>
libnaga-java/testing,testing,stable,stable,now 3.0+svn80-5 all
[installed,automatic]
openjdk-21-jre-headless/testing,now 21.0.11~8ea-1 amd64 [installed]
openjdk-25-jre-headless/testing,now 25.0.3~7ea-2 amd64 [installed,automatic]
openjdk-25-jre/testing,now 25.0.3~7ea-2 amd64 [installed,automatic]
```

2) By default, an instance of Debian 13/trixie/stable runs with openjdk-21,
and jmol's version from Debian's repositories would be 16.2.33+dfsg-1.

2a) With Jmol from sourceforge's .zip, the links on «About Jmol» are
recognized (cursor changes into the hand shape), firefox however does not
start.
2b) I then install Jmol 16.3.55 as recently backported (i.e., by `sudo apt
install -t trixie-backports jmol`) -- the viewer is functional, but on the
about page, the links don't launch firefox.
2c) Speculating openjdk-21 could interfere here, I deinstalled everything
about Jmol (from apt), openjdk and java.  This includes to deinstall
`java-common`, `ca-certificates-java`, too.  On a clean slate, I installed `apt
install openjdk-25-jdk` which came with its dependencies.  Now the links in
Jmol as provided by the .zip on sourceforge are functional.
2d) Encouraged by 2c) the installation of the backport was started again with
`sudo apt install -t trixie-backports jmol`.  The links in the Jmol's «about»
again don't launch a visible action on firefox.  However I notice during the
installation of the backport, the elder openjdk-21 was added.  Now the system
(stable + backports) reports

```bash
$ java --version
openjdk 25.0.2 2026-01-20
OpenJDK Runtime Environment (build 25.0.2+10-Debian-1deb13u2)
OpenJDK 64-Bit Server VM (build 25.0.2+10-Debian-1deb13u2, mixed mode, sharing)
$ apt list --installed "*java" "*jdk" "jre*" "openjdk*"
ca-certificates-java/stable,now 20240118 all [installed,automatic]
libatk-wrapper-java/stable,now 0.40.0-3 all [installed,automatic]
libbeam-java/stable,now 1.3.9-1 all [installed,auto-removable]
libcommons-cli-java/stable,now 1.6.0-1 all [installed,auto-removable]
libgoogle-gson-java/stable,now 2.10.1-1 all [installed]
libjmol-java/stable-backports,now 16.3.55+dfsg-1~bpo13+1 all
[installed,auto-re>
libjna-inchi-java/stable,now 1.3.1+dfsg-1 all [installed,auto-removable]
libjna-java/stable,now 5.15.0-1 all [installed,auto-removable]
libjoptsimple-java/stable,now 5.0.4-7 all [installed,auto-removable]
libnaga-java/stable,now 3.0+svn80-5 all [installed,auto-removable]
openjdk-21-jre-headless/stable,stable-security,now 21.0.10+7-1~deb13u1 amd64
[i>
openjdk-21-jre/stable,stable-security,now 21.0.10+7-1~deb13u1 amd64
[installed,>
openjdk-25-jdk-headless/stable,stable-security,now 25.0.2+10-1~deb13u2 amd64
[i>
openjdk-25-jdk/stable,stable-security,now 25.0.2+10-1~deb13u2 amd64 [installed]
openjdk-25-jre-headless/stable,stable-security,now 25.0.2+10-1~deb13u2 amd64
[i>
openjdk-25-jre/stable,stable-security,now 25.0.2+10-1~deb13u2 amd64
[installed,>
```

Best regards,
Norwid


\* <https://jmol.sourceforge.net/> eventually does not work, but this is the
same pattern as to access <https://jmol.sourceforge.net/download/> and then
click there on «Home» (top right on their site).  For <https://www.acme.com/>
I get a time out error, but this likely is beyond Jmol's influence.

[sourceforge]:
https://sourceforge.net/projects/jmol/files/Jmol/Version%2016.3/Jmol%2016.3.55/