Search Criteria
Package Base Details: java17-openjfx
Package Actions
Git Clone URL: | https://aur.archlinux.org/java17-openjfx.git (read-only, click to copy) |
---|---|
Submitter: | ItachiSan |
Maintainer: | ItachiSan |
Last Packager: | ItachiSan |
Votes: | 3 |
Popularity: | 0.110279 |
First Submitted: | 2023-12-05 21:09 (UTC) |
Last Updated: | 2024-05-18 19:00 (UTC) |
Latest Comments
« First ‹ Previous 1 2 3 Next › Last »
ItachiSan commented on 2024-01-17 08:12 (UTC)
Hi everyone,
I have verified that building the package works using a clean environment and makepkg: https://gist.github.com/ItachiSan/532a78702237b8c3f176d921bc164321
You can see that I have no issues using multiple JDKs and JREs. Even using the build scripts within the
devtools
package (they create a clean chroot) the build works.Did you try building the package in a clean folder with
makepkg
?saeziae commented on 2024-01-04 04:26 (UTC)
Please add
jdk17-openjdk
to dependency, and it is possible to use java 17 directly when building:Karadoc commented on 2023-12-29 10:16 (UTC) (edited on 2023-12-29 10:18 (UTC) by Karadoc)
Ok, so
Need to install jdk17-openjdk
Need to set java-17-openjdk by default
Need to edit the PKGBUILD to change java-environment-openjdk=11 to java-environment-openjdk=17
Still forces to install jdk11-openjdk (?!) during the operation
But at the end it works.
There still is something wrong with the dependencies with this package...
hazardfrog commented on 2023-12-22 13:11 (UTC) (edited on 2023-12-22 14:11 (UTC) by hazardfrog)
I get (with java-21-openjdk):
FAILURE: Build failed with an exception.
And with archlinux-java set java-17-openjdk:
Where: Build file '/tmp/pamac-build-user/java17-openjfx/src/jfx17u-17.0.10-0/build.gradle' line: 617
What went wrong: A problem occurred evaluating root project 'jfx17u-17.0.10-0'.
BlackenedSky84 commented on 2023-12-22 13:10 (UTC)
you only have jre17-openjdk installed but you need jdk17-openjdk that should allow it to build.
not sure why the PGKBUILD pulls in jdk11 instead of 17 but I changed java-environment-openjdk=11 to java-environment-openjdk=17 and it worked.
Karadoc commented on 2023-12-22 10:20 (UTC) (edited on 2023-12-22 10:24 (UTC) by Karadoc)
Same issue here
Changing to java-17-openjdk leads to the same issue (there's no javac in the directory).
JohnMaguire commented on 2023-12-19 16:43 (UTC)
@TheTrueManu's suggestion did not work for me:
I do not seem to have a javac in that directory.
TheTrueManu commented on 2023-12-19 03:24 (UTC)
I was able to solve the same issue as @lapicidae, @JohnMaguire and @kyngs by changing the default java environment to java 17.
ItachiSan commented on 2023-12-17 11:43 (UTC)
Do you have other java packages installed? I have a guess and want to see whether I can replicate it.
kyngs commented on 2023-12-17 11:22 (UTC)
I'm also having the same issue as @lapicidae and @JohnMaguire
« First ‹ Previous 1 2 3 Next › Last »