* [ISSUE] Icedtea Web using incorrect path to Java JRE @ 2024-01-22 18:03 CtrlC-Root 2024-01-22 19:10 ` [ISSUE] [CLOSED] " classabbyamp 2024-01-22 21:11 ` felix 0 siblings, 2 replies; 3+ messages in thread From: CtrlC-Root @ 2024-01-22 18:03 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 2199 bytes --] New issue by CtrlC-Root on void-packages repository https://github.com/void-linux/void-packages/issues/48328 Description: ### Is this a new report? Yes ### System Info Void 6.6.11_1 x86_64 GenuineIntel uptodate rrrmFFFFFFFFF ### Package(s) Affected icedtea-web-1.6.2_2 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? No but previous instance of this bug (which was fixed and is now happening again) reported here: https://github.com/void-linux/void-packages/issues/16835 ### Expected behaviour Launching a JNLP file with `icedtea-web` correctly starts the Java application with the currently installed JRE. ### Actual behaviour The `javaws` script uses a hard-coded path to an out of date JRE which is not available via any current packages so it fails to start the application: ``` alex@tartarus ~/downloads [1]> javaws launch.jnlp /usr/bin/javaws: line 98: /usr/lib/jvm/java-1.8-openjdk/jre/bin/java: No such file or directory ``` Currently installed Java packages: ``` alex@tartarus ~/downloads [127]> xbps-query -s jdk [*] openjdk-8u999_1 OpenJDK Java Development Kit (meta) [*] openjdk-common-2_1 Common files for OpenJDK packages [*] openjdk17-17.0.10+6_1 OpenJDK Java Development Kit (version 17) [*] openjdk17-jre-17.0.10+6_1 OpenJDK Java Development Kit (version 17) - runtime components [*] openjdk8-8u332b05_2 OpenJDK Java Development Kit (version 8) [*] openjdk8-jre-8u332b05_2 OpenJDK Java Development Kit (version 8) - runtime components alex@tartarus ~/downloads> xbps-query -s icedtea [*] icedtea-web-1.6.2_2 Implementation of Java Web Start ``` I'm guessing that script needs to be updated to rely on the alternatives system in order to pick the currently selected JRE binary? Tagging @felix as the package maintainer. ### Steps to reproduce 1. Install the `icedtea-web` package. 2. Locate a JNLP file to test with. A public one is available here: https://cherry.dcs.aber.ac.uk/3dexperiment/launch.html 3. Download the JNLP file. 4. Attempt to run the JNLP file with icedtea: `javaws launch.jnlp` 5. Observe the issue from the `Actual behaviour` section above. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ISSUE] [CLOSED] Icedtea Web using incorrect path to Java JRE 2024-01-22 18:03 [ISSUE] Icedtea Web using incorrect path to Java JRE CtrlC-Root @ 2024-01-22 19:10 ` classabbyamp 2024-01-22 21:11 ` felix 1 sibling, 0 replies; 3+ messages in thread From: classabbyamp @ 2024-01-22 19:10 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 2239 bytes --] Closed issue by CtrlC-Root on void-packages repository https://github.com/void-linux/void-packages/issues/48328 Description: ### Is this a new report? Yes ### System Info Void 6.6.11_1 x86_64 GenuineIntel uptodate rrrmFFFFFFFFF ### Package(s) Affected icedtea-web-1.6.2_2 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? No but previous instance of this bug (which was fixed and is now happening again) reported here: https://github.com/void-linux/void-packages/issues/16835 ### Expected behaviour Launching a JNLP file with `icedtea-web` package `javaws` script correctly starts the Java application with the currently installed JRE. ### Actual behaviour The `javaws` script uses a hard-coded path to an out of date JRE which is not available via any current packages so it fails to start the application: ``` alex@tartarus ~/downloads [1]> javaws launch.jnlp /usr/bin/javaws: line 98: /usr/lib/jvm/java-1.8-openjdk/jre/bin/java: No such file or directory ``` Currently installed Java packages: ``` alex@tartarus ~/downloads [127]> xbps-query -s jdk [*] openjdk-8u999_1 OpenJDK Java Development Kit (meta) [*] openjdk-common-2_1 Common files for OpenJDK packages [*] openjdk17-17.0.10+6_1 OpenJDK Java Development Kit (version 17) [*] openjdk17-jre-17.0.10+6_1 OpenJDK Java Development Kit (version 17) - runtime components [*] openjdk8-8u332b05_2 OpenJDK Java Development Kit (version 8) [*] openjdk8-jre-8u332b05_2 OpenJDK Java Development Kit (version 8) - runtime components alex@tartarus ~/downloads> xbps-query -s icedtea [*] icedtea-web-1.6.2_2 Implementation of Java Web Start ``` I'm guessing that script needs to be updated to rely on the alternatives system in order to pick the currently selected JRE binary? Tagging @felix as the package maintainer. ### Steps to reproduce 1. Install the `icedtea-web` package. 2. Locate a JNLP file to test with. A public one is available here: https://cherry.dcs.aber.ac.uk/3dexperiment/launch.html 3. Download the JNLP file. 4. Attempt to run the JNLP file: `javaws launch.jnlp` 5. Observe the issue from the `Actual behaviour` section above. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Icedtea Web using incorrect path to Java JRE 2024-01-22 18:03 [ISSUE] Icedtea Web using incorrect path to Java JRE CtrlC-Root 2024-01-22 19:10 ` [ISSUE] [CLOSED] " classabbyamp @ 2024-01-22 21:11 ` felix 1 sibling, 0 replies; 3+ messages in thread From: felix @ 2024-01-22 21:11 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 207 bytes --] New comment by felix on void-packages repository https://github.com/void-linux/void-packages/issues/48328#issuecomment-1904824565 Comment: Thank you @classabbyamp, I have not used this port for some time. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-22 21:11 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-01-22 18:03 [ISSUE] Icedtea Web using incorrect path to Java JRE CtrlC-Root 2024-01-22 19:10 ` [ISSUE] [CLOSED] " classabbyamp 2024-01-22 21:11 ` felix
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).