Package Details: java17-openjfx-doc 17.0.14.u2-1

Git Clone URL: https://aur.archlinux.org/java17-openjfx.git (read-only, click to copy)
Package Base: java17-openjfx
Description: Java OpenJFX 17 client application platform (open-source implementation of JavaFX)
Upstream URL: https://wiki.openjdk.java.net/display/OpenJFX/Main
Licenses: custom
Submitter: ItachiSan
Maintainer: ItachiSan
Last Packager: ItachiSan
Votes: 3
Popularity: 0.001474
First Submitted: 2023-12-05 21:09 (UTC)
Last Updated: 2024-11-29 16:52 (UTC)

Dependencies (24)

Required by (0)

Sources (7)

Latest Comments

« First ‹ Previous 1 2 3

JohnMaguire commented on 2023-12-19 16:43 (UTC)

❯ sudo pacman -Q | grep java
java-environment-common 3-5
java-runtime-common 3-5
java17-openjfx 17.0.7.u2-1
❯ sudo archlinux-java set java-17-openjdk
❯ sudo archlinux-java status
Available Java environments:
  java-11-openjdk
  java-17-openjdk (default)

@TheTrueManu's suggestion did not work for me:

FAILURE: Build failed with an exception.

* Where:
Build file '/home/jmaguire/.cache/yay/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'.
> Missing or incorrect path to 'javac': '/usr/lib/jvm/java-17-openjdk/bin/javac'. Perhaps bad JDK_HOME? /usr/lib/jvm/java-17-openjdk

I do not seem to have a javac in that directory.

❯ ls /usr/lib/jvm/java-17-openjdk/bin/
java  jfr  jrunscript  keytool  rmiregistry

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.

sudo archlinux-java set java-17-openjdk

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

JohnMaguire commented on 2023-12-15 04:07 (UTC) (edited on 2023-12-15 04:07 (UTC) by JohnMaguire)

I am receiving the same error as @lapicidae.

ItachiSan commented on 2023-12-10 19:13 (UTC)

Hi @lapicidae,

I was able to successfu_lly build the package with no errors inside the chroot environment provided from "extra-x86_64-build", thus I believe it is an issue with your setup.

lapicidae commented on 2023-12-06 17:52 (UTC)

Errors: * Unsupported class file major version 65 * Missing or incorrect path to 'javac'

After the following changes everything works fine.

--- PKGBUILD    2023-12-06 13:23:24.233071142 +0100
+++ PKGBUILD    2023-12-06 18:28:06.376780996 +0100
@@ -17,7 +17,7 @@
   java17-openjfx-src
 )
 pkgver=17.0.10.u0
-pkgrel=1
+pkgrel=2
 pkgdesc="Java OpenJFX 17 client application platform (open-source implementation of JavaFX)"
 arch=(x86_64)
 url=https://wiki.openjdk.java.net/display/OpenJFX/Main
@@ -35,7 +35,7 @@
   gradle
   gtk2
   gtk3
-  java-environment-openjdk=11
+  java-environment-openjdk=17
   libgl
   libx11
   libxtst
@@ -76,6 +76,9 @@
   # cd jfx-${pkgver//.u/-}
   cd jfx17u-${pkgver//.u/-}

+  # set java version
+  export PATH="/usr/lib/jvm/java-17-openjdk/bin/:$PATH"
+
   # build against ffmpeg4.4
   export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'