Package Details: graal-native-image-bin 19.3.0-1

Git Clone URL: https://aur.archlinux.org/graal-native-image-bin.git (read-only, click to copy)
Package Base: graal-native-image-bin
Description: Virtual package for backwards compatibility; please directly install native-image-jdk8-bin instead
Upstream URL: https://github.com/oracle/graal
Licenses: custom
Submitter: lucaswerkmeister
Maintainer: lucaswerkmeister
Last Packager: lucaswerkmeister
Votes: 2
Popularity: 0.000182
First Submitted: 2019-05-30 10:58
Last Updated: 2019-11-25 00:22

Dependencies (1)

Required by (1)

Sources (0)

Pinned Comments

lucaswerkmeister commented on 2019-11-25 00:30

This is now a virtual package – please explicitly install native-image-jdk8-bin, native-image-jdk11-bin, or both instead.

Latest Comments

lucaswerkmeister commented on 2019-11-25 00:30

This is now a virtual package – please explicitly install native-image-jdk8-bin, native-image-jdk11-bin, or both instead.

lucaswerkmeister commented on 2019-11-20 21:25

@sogaiu thanks for the ping. Not sure what to do about those different Java versions, to be honest… I’ve left a longer comment over at graal-bin, feel free to leave input there.

sogaiu commented on 2019-11-20 18:20

Looks like 19.3.0 has both a java 8 and java 11 download.

Also, the repository under which the links for the binaries are listed appears to have changed:

https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-19.3.0

sogaiu commented on 2019-05-31 21:24

Thanks for the update, it appears to be working well so far!

lucaswerkmeister commented on 2019-05-31 15:52

Oops, yeah, that’s what I get for copying the graalpython PKGBUILD too blindly :D

FWIW, on my system native-image worked because I have /usr/lib/jvm/default/bin/ in my PATH. (I did test this package I built! I promise!)

I’ve pushed a fix now (a bit different from your patch), please try it out!

sogaiu commented on 2019-05-31 15:17

It seems like making a symlink from /usr/bin/native-image to the packaged native-image might be nicer. How does this look?

diff --git a/PKGBUILD b/PKGBUILD
index cec27c9..b256c61 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname_=graal-native-image
 pkgname=${pkgname_}-bin
 pkgver_=19.0.0
 pkgver=${pkgver_/-/_}
-pkgrel=1
+pkgrel=2
 pkgdesc='Plugin to turn Graal-based applications into native binary images'
 arch=('x86_64')
 url='https://github.com/oracle/graal'
@@ -56,5 +56,5 @@ package() {

     install -DTm644 jre/lib/svm/LICENSE_NATIVEIMAGE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

-    ln -s ../lib/jvm/java-8-graal/bin/${pkgname_} "$pkgdir/usr/bin/"
+    ln -s ../lib/jvm/java-8-graal/bin/native-image "$pkgdir/usr/bin/native-image"
 }