Search Criteria
Package Details: native-image-jdk11-bin 22.3.2-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/native-image-jdk11-bin.git (read-only, click to copy) |
|---|---|
| Package Base: | native-image-jdk11-bin |
| Description: | Plugin to turn GraalVM-based applications into native binary images (Java 11 version) |
| Upstream URL: | https://github.com/oracle/graal |
| Licenses: | custom |
| Submitter: | lucaswerkmeister |
| Maintainer: | lucaswerkmeister |
| Last Packager: | lucaswerkmeister |
| Votes: | 6 |
| Popularity: | 0.173632 |
| First Submitted: | 2019-11-25 00:21 (UTC) |
| Last Updated: | 2023-04-26 18:47 (UTC) |
Latest Comments
1 2 Next › Last »
lucaswerkmeister commented on 2023-07-26 19:16 (UTC)
JDK 11 is no longer supported – all users of this package should instead install either native-image-jdk20-bin (latest) or native-image-jdk17-bin (LTS).
lucaswerkmeister commented on 2020-06-07 19:55 (UTC)
That’s very strange,
archlinux-javaoffers both GraalVM and OpenJDK on my system:mdedetrich commented on 2020-06-07 19:12 (UTC)
So thats interesting, I have both
java-11-graalvmandjdk11-openjdkinstalled so I think that itsjdk11-openjdkwhich is visible in the path. The problem is that if I use thearchlinux-javatool (which is what is used to swap between different JDK's) I only getjava-11-openjdk.lucaswerkmeister commented on 2020-06-07 15:40 (UTC)
On my system
/usr/lib/jvm/default/binis in the PATH, and the default JVM is java-11-graalvm, sonative-imageends up in the PATH. I’m not sure if there’s much more that the package can do – I can’t just symlinknative-imagedirectly into/usr/bin, for instance, because then it’s no longer possible to install the jdk8 and jdk11 packages in parallel.mdedetrich commented on 2020-06-07 10:44 (UTC)
So I just tried installing this and I noticed that native-image is not on my path. Is the package meant to handle this or should I set up the PATH/symlink manually?
lucaswerkmeister commented on 2019-12-04 20:23 (UTC)
Indeed, thanks a lot! I’ve updated that package.
mcescher commented on 2019-12-04 10:23 (UTC) (edited on 2019-12-04 10:24 (UTC) by mcescher)
Adding
options=('staticlibs')tojdk11-graalvm-bin's PKGBUILD resolves the issue.mcescher commented on 2019-12-04 10:12 (UTC)
I think the problem is that in
jdk11-graalvm-binfiles are missing, namelylib/*.a.During installation those files are apparently removed, maybe in this step:
In order to verify this I've renamed /usr/lib/jvm/java11-graalvm and extracted the distribution archive manually into /usr/lib/jvm/java11-graalvm and retried running
native-imageand then it worked1 2 Next › Last »