Search Criteria
Package Details: jdk19-graalvm-bin 22.3.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/jdk19-graalvm-bin.git (read-only, click to copy) |
---|---|
Package Base: | jdk19-graalvm-bin |
Description: | Universal virtual machine for running applications written in a variety of languages (JVM-based, LLVM-based, or other), Java 19 version |
Upstream URL: | https://www.graalvm.org/ |
Licenses: | custom |
Provides: | java-environment, java-runtime |
Submitter: | lucaswerkmeister |
Maintainer: | lucaswerkmeister |
Last Packager: | lucaswerkmeister |
Votes: | 5 |
Popularity: | 0.000143 |
First Submitted: | 2022-10-25 20:42 (UTC) |
Last Updated: | 2023-01-26 22:03 (UTC) |
Dependencies (2)
Required by (2450)
- 2009scape (requires java-runtime)
- 2009scape-git (requires java-runtime)
- 2p-kt (requires java-runtime)
- 2plan-desktop (requires java-environment)
- 389-console (requires java-environment)
- 389-ds-console (requires java-environment) (make)
- aacskeys (requires java-environment) (make)
- abchr (requires java-runtime)
- abcl (requires java-environment)
- abcl-git (requires java-environment) (make)
- abcl-git (requires java-runtime)
- abdownloadmanager-bin (requires java-runtime)
- access-export (requires java-environment)
- acodec-bin (requires java-runtime)
- acronis-cyber-protect-bin (requires java-runtime)
- activemq (requires java-runtime)
- aechoterm-bin (requires java-runtime)
- aeron (requires java-environment)
- ahmyth-bin (requires java-runtime)
- aio-remote (requires java-runtime)
- Show 2430 more...
Latest Comments
lucaswerkmeister commented on 2023-06-17 13:44 (UTC)
JDK 19 is no longer supported – all users of this package should instead install either jdk20-graalvm-bin (latest) or jdk17-graalvm-bin (LTS).
NextWorks commented on 2023-01-17 07:30 (UTC)
@lucaswerkmeister Didn't know about that because i use jdk19-graal as default. Thanks for the reply
lucaswerkmeister commented on 2023-01-17 00:57 (UTC) (edited on 2023-01-17 00:57 (UTC) by lucaswerkmeister)
@NextWorks: No, that’s not how JDK/JRE packages should work on Arch Linux. (See e.g. the
jdk-openjdk
file list at https://archlinux.org/packages/extra/x86_64/jdk-openjdk/files/, which doesn’t touch/etc/profile.d
either.) Instead, users can install multiple Java versions and use thearchlinux-java
command to select the default one, e.g.sudo archlinux-java set java-19-graalvm
.This package includes an install script which is supposed to call
archlinux-java
automatically if no default JDK has been configured yet, or to print a notice like this if it already has been set (but the notice is only shown on install, not on upgrade):However, due to a copy+paste mistake on my part, the install script was broken (I forgot to change 17 to 19 in it). I’ve fixed that now – if you upgrade the package, it should automatically set itself as the default Java on your system (assuming you don’t already have another Java installed).
NextWorks commented on 2023-01-16 22:23 (UTC) (edited on 2023-01-16 22:23 (UTC) by NextWorks)
Hello, i think you can put these two functions at the end of the pkgbuild
echo 'export PATH="/usr/lib/jvm/java-'$java_'-graalvm/bin:$PATH"' >> $pkgdir/etc/profile.d/graalvm.sh
echo 'export JAVA_HOME="/usr/lib/jvm/java-'$java_'-graalvm"' >> $pkgdir/etc/profile.d/graalvm.sh
The first function, "export PATH=/path/to/<graalvm>/bin:$PATH" adds the path of the GraalVM binary to the PATH environment variable. This allows the system to search for and execute commands from that specific location. The second function, "export JAVA_HOME=/path/to/<graalvm>" sets the JAVA_HOME environment variable to the path of the GraalVM installation. This allows other applications to know where the Java runtime environment is located.
Best Regards, NextWorks