Package Details: jdk9-openj9-bin 9.181-2

Git Clone URL: (read-only)
Package Base: jdk9-openj9-bin
Description: Eclipse (former IBM) OpenJ9 with openjdk9
Upstream URL:
Licenses: custom
Provides: java-environment=9, java-runtime=9, java-runtime-headless=9
Submitter: WFCody
Maintainer: Myrddin
Last Packager: WFCody
Votes: 6
Popularity: 0.014237
First Submitted: 2017-09-22 15:41
Last Updated: 2017-11-06 12:10

Required by (1000)

Sources (1)

Latest Comments

WFCody commented on 2018-09-23 10:40

In my mind this package is now superseded by the jdk10 version.

Myrddin commented on 2018-08-28 16:24

I apologize for the inconvenience this may cause, but during renaming, this package couldn't be updated with a different name without causing this:

I've made you co-maintainer on the new package. Majority of the work was done by you; I just updated some things, so I'd like to thank you for the scripting work and research! I appreciate it as a member of our community.

WFCody commented on 2018-08-27 09:17

Thanks! I made you co-maintainer so you can push your changes (can be easier to track in git history that way)

Myrddin commented on 2018-08-27 03:07

_pkgsum_sha256="wget -q${_majver_java}.${_pkgver_minweb}_openj9-${_openj_ver}/${_pkgsum_name} && cut -d' ' -f1 ${_pkgsum_name}"
pkgdesc="Eclipse (former IBM) OpenJ9 with openjdk10"
depends=('java-environment-common' 'ca-certificates-utils' 'nss')
makedepends=('coreutils' 'bash' 'wget')
# extract automatically? [bash -c "${_pkgsum_sha256}"] Could this work?

package() {
    cd "$srcdir"

    mkdir -p "${pkgdir}/usr/lib/jvm/"
    tar -xf OpenJDK${_majver_java}-OPENJ9_x64_Linux_jdk-${pkgver}_openj9-${_openj_ver}.tar.gz -C "${pkgdir}/usr/lib/jvm/"
    mv "${pkgdir}/usr/lib/jvm/jdk-${_majver_java}.${_pkgver_split}+${_pkgver_build}" "${pkgdir}/usr/lib/jvm/java-${_majver_java}-j9"
    mkdir -p "${pkgdir}/usr/share/licenses"
    ln -s "/usr/lib/jvm/java-${_majver_java}-j9/legal" "${pkgdir}/usr/share/licenses/java-${_majver_java}-j9"


Here's a contribution. I hope you can find a way to make the sha256sum source a variable. I still couldn't get any variable expansion in checksums to work. This is my first contribution. I refactored naming to match arch packages, but it definitely needs more testing.

WFCody commented on 2017-11-06 12:13

If you have a good automated way to extract the sha sum from the text file or from github in the PKGBUILD, that would be appreciated.

I removed the renaming of the tar ball. I simply did it for convenience in the rest of the PKGBUILD.

timofonic commented on 2017-11-05 18:18

Your sha256 is outdated. Can a url be put instead the sha256 numbers directly in the package?

this pkg: 74c7656a1f538476fe01471255e2d2bae57dfbd36cc6ab3bccb9c98b486c1a48
the file: e0d31d25adb81005eea1ad1095f8d48c1df9da02c39d4b02b201c55f8bb4dca3

Why do you rename the file to jdk9-j9.tar.gz?

Can this file be parsed in the PKGBUILD instead needing to update the PKGBUILD manually?

timofonic commented on 2017-11-05 17:59

-> Downloading jdk9-j9.tar.gz...
** Resuming transfer from byte position 109165105
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 633 0 633 0 0 633 0 --:--:-- --:--:-- --:--:-- 1065
100 86.0M 100 86.0M 0 0 1159k 0 0:01:16 0:01:16 --:--:-- 837k
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
==> Sources are ready.
:: failed to verify integrity or prepare jdk9-openj9-bin package