Hi,
I'm ludo - I'd like to package josm - which requires Apcahe derby and apache-common-jcs-*.
I've managed to compile derby on my fedora 32 vagrant host.
For that I had to force the compiler to not be the 1.8 using the JAVA_HOME variable so ants would use the compiler from the 11-openjdk-devel package.
I'm reading https://docs.fedoraproject.org/en-US/packaging-guidelines/Java/ and https://fedora-java.github.io/howto/latest/.
I'm far from being a java programmer and this is my first attempt at building a linux package. And that's why I'm writing this email.
I've got some inspiration from https://src.fedoraproject.org/rpms/derby/pull-request/1#request_diff as derby used to be packaged for fedora/RHEL in the past.
Looking at that spec file, I don't see how one can specify which version of javac to use and force while buidling. I also don't understand the need to the patch files nor do I get the fact that this ant build needs maven magic in the packaging.
I'll gladly RTFM anything sent to me, but I'd like to figure out the next steps in order to package derby , now that I have a build that doesn't fail.
Thanks in advance for your patience and time
Ludovic
Hi!
(Java proselyte calling, please be gentle...)
I'm trying to run an application: REW (roomeqwizard,
https://www.roomeqwizard.com) which used to run fine on fc31, but
crashes upon launch w. a freshly installed and updated fc32.
Here's the error message i'm getting:
$ ./roomeqwizard
sep 11, 2020 6:16:28 PM roomeqwizard.RoomEQ_Wizard A
SEVERE: Error during startup java.lang.NoSuchMethodError: org.jdesktop.swingx.util.OS.platformName(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
java.lang.NoSuchMethodError: org.jdesktop.swingx.util.OS.platformName(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
at roomeqwizard.RoomEQ_Wizard.O(y:2542)
at roomeqwizard.RoomEQ_Wizard.main(y:1073)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
at com.install4j.runtime.launcher.UnixLauncher.start(UnixLauncher.java:66)
at install4j.roomeqwizard.RoomEQ_Wizard.main(Unknown Source)
According to the programmer, the platformName method is part of the code
included in REW, and REW requires only a Java 8 runtime. Together with
the author of the application I've tried to do some debugging, where
things seem to point towards my local java installation:
https://www.avnirvana.com/threads/linux-installation-problems-java-lang-nos…
Info about my java:
$ java -version
openjdk version "1.8.0_265"
OpenJDK Runtime Environment (build 1.8.0_265-b01)
OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)
The openjdk and openjdk-devel packages, plus some, are installed:
$ dnf list installed '*openjdk*'
java-1.8.0-openjdk.x86_64 1:1.8.0.265.b01-1.fc32 @updates
java-1.8.0-openjdk-devel.x86_64 1:1.8.0.265.b01-1.fc32 @updates
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.265.b01-1.fc32 @updates
java-1.8.0-openjdk-openjfx.x86_64 1:1.8.0.265.b01-1.fc32 @updates
Q: do the packages above provide me with a proper JRE?
Any clues to what the error might be pointing at?
Any suggestions as to how to get closer to debugging what's going on?
Thanks in advance!
Yours,
-anders