@damir /opt/anaconda/bin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin path is weird; /usr/bin/vendor_perl/exiftool path is normal.
Did you install this application from here? Are you using some Arch derivative?
Anyway, deal with it: File -> Preferences -> ExifTool Location: Choose (select exiftool in the location where it is located on your system) or paste the location in the bar (/path/to/exiftool)
19:27:07.472 [AWT-EventQueue-0] INFO org.hvdw.jexiftoolgui.Utils - exiftool path: which: no exiftool in (/opt/anaconda/bin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin)
seems that exiftool is provided in a weird location:
/usr/bin/vendor_perl/exiftool
how do you guys deal with this?
@zoe Update
-# Contributor: zoe <chp321 [at] gmail (dot) com>
# Maintainer: zoe <chp321 [at] gmail (dot) com>
pkgname=jexiftoolgui
PkgName=jExifToolGUI
-pkgver=2.0.1
+pkgver=2.0.2
pkgrel=1
pkgdesc="${PkgName} is a java/Swing graphical frontend for the excellent command-line ExifTool application by Phil Harvey"
arch=('any')
url="https://github.com/hvdwolf/${PkgName}"
-license=("GNU General Public License v3.0")
+license=("GPL3")
depends=('java-runtime>=11' 'perl-image-exiftool' 'dcraw')
-source=("https://github.com/hvdwolf/${PkgName}/releases/download/${pkgver}/${pkgname}-${pkgver}.deb")
-md5sums=('36930e5009c357d84b27c64ffa7f8633')
+source=("$url/releases/download/${pkgver}/${pkgname}-${pkgver}.deb")
+md5sums=('6809dd6fcd163d4f612bff21caa14670')
@tom and @medmedin :
To compile, gradle needs java version 11 (in fact, version 12, but only available in [AUR], version 11 is from [extra]). With version 14 of java, gradle (even in last version 6.5.1) crashes with your error «Could not initialize class org.codehaus.groovy...»
So, you must run, before compiling jexiftoolgui :
archlinux-java status (to see which version of java is currently active on your system)
sudo archlinux-java set java-11-openjdk
Then, you can compile jexiftoolgui. Gradle will work fine.
For execution of jexiftoolgui, you can use java 14
==> Erstelle Paket: jexiftoolgui 1.0-2 (Do 09 Jul 2020 13:38:18 CEST)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> WARNUNG: Verwende bestehenden $srcdir/ Baum
==> Entferne existierendes $pkgdir/ Verzeichnis...
==> Beginne build()...
FAILURE: Build failed with an exception.
-
What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
-
Get more help at https://help.gradle.org
BUILD FAILED in 0s
==> FEHLER: Ein Fehler geschah in build().
Breche ab...
Error making: jexiftoolgui
The build fails with the following error with OpenJDK14 :
==> Starting build()...
Starting a Gradle Daemon (subsequent builds will be faster)
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
at org.codehaus.groovy.vmplugin.VMPluginFactory.<clinit>(VMPluginFactory.java:43)
at org.codehaus.groovy.reflection.GroovyClassValueFactory.<clinit>(GroovyClassValueFactory.java:35)
.
.
.
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.base/java.lang.Thread.run(Thread.java:832)
FAILURE: Build failed with an exception.
-
What went wrong:
Could not initialize class org.codehaus.groovy.reflection.ReflectionCache
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
-
Get more help at https://help.gradle.org
BUILD FAILED in 30s
==> ERROR: A failure occurred in build().
Aborting...
I think gradle should be updated to 6.5 to support openjdk14.