Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#70698 - [gpsprune] 3d view is not working even with java3d libraries installed
Attached to Project:
Community Packages
Opened by jozef riha (jose1711) - Monday, 03 May 2021, 19:41 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:02 GMT
Opened by jozef riha (jose1711) - Monday, 03 May 2021, 19:41 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:02 GMT
|
DetailsDescription:
3D view is not available in GpsPrune even with java3d libraries (aur) installed. Additional info: * gpsprune 20.3-1 Steps to reproduce: - set java to java-11-openjdk (archlinux-java set java-11-openjdk) - install java3d from aur (1.5.2-9) - install gpsprune - run gpsprune - click Help - About GpsPrune - System info - read: Java3d installed: No - also View - Three-D view is not working Here's a workaround that puts the class paths into the manifest itself: cd $(mktemp -d) curl -so - https://activityworkshop.net/software/gpsprune/gpsprune_20.3.jar | jar x sed -i -e 's/\r//' -e '/^$/d' META-INF/MANIFEST.MF echo "Class-Path: /usr/lib/jvm/java-11-openjdk/jre/lib/ext/j3dcore.jar /usr/lib/jvm/java-11-openjdk/jre/lib/ext/j3dutils.jar /usr/lib/jvm/java-11-openjdk/jre/lib/ext/vecmath.jar" >> META-INF/MANIFEST.MF jar cmf0 META-INF/MANIFEST.MF ../gpsprune.jar * java -jar ../gpsprune.jar The 3d libs are correctly read from the repacked java archive and I cannot figure out another way (e. g. specifying the path as an argument). |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:02 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/gpsprune/issues/1
Saturday, 25 November 2023, 20:02 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/gpsprune/issues/1
```
java -cp /usr/lib/jvm/java-11-openjdk/jre/lib/ext/j3dcore.jar:/usr/lib/jvm/java-11-openjdk/jre/lib/ext/j3dutils.jar:/usr/lib/jvm/java-11-openjdk/jre/lib/ext/vecmath.jar:/usr/share/java/gpsprune/gpsprune.jar tim.prune.GpsPrune
```
Since GpsPrune is already using a wrapper it would be nice if it's adjusted so that it takes java3d libraries into account if they're installed.