Package Details: jdk9-openj9-bin 1:9.0.4b12_openj9_0.9.0-2

Git Clone URL: https://aur.archlinux.org/jdk9-openj9-bin.git (read-only, click to copy)
Package Base: jdk9-openj9-bin
Description: Eclipse (former IBM) OpenJ9 with openjdk9
Upstream URL: https://adoptopenjdk.net/index.html?variant=openjdk9&jvmVariant=openj9
Licenses: GPL2
Conflicts: jdk9-openj9, jdk9-openj9-bin
Provides: java-environment=9, java-environment-openjdk=9, java-runtime=9, java-runtime-headless=9, java-runtime-headless-openjdk=9, java-runtime-openjdk=9
Submitter: WFCody
Maintainer: TheGoliath
Last Packager: TheGoliath
Votes: 7
Popularity: 1.11
First Submitted: 2017-09-22 15:41
Last Updated: 2020-05-22 13:02

Required by (1000)

Sources (1)

Pinned Comments

TheGoliath commented on 2020-05-18 15:34

CO-MAINTENANCE

I don't want this package to get into a situation where it no longer receives updates or patches. Therefore I would like to ask anyone who is willing to take part in the maintenance of the package, to contact me via email!

BINARY PACKAGES ARE PROVIDED IN AN UNOFFICIAL REPOSITORY

The maintainer of this package provides signed binary packages in an unofficially signed repository, which he created and manages himself. These packages are pre-built binary files straight from the PKGBUILD. You can also use them.

Latest Comments

1 2 Next › Last »

TheGoliath commented on 2020-05-18 15:34

CO-MAINTENANCE

I don't want this package to get into a situation where it no longer receives updates or patches. Therefore I would like to ask anyone who is willing to take part in the maintenance of the package, to contact me via email!

BINARY PACKAGES ARE PROVIDED IN AN UNOFFICIAL REPOSITORY

The maintainer of this package provides signed binary packages in an unofficially signed repository, which he created and manages himself. These packages are pre-built binary files straight from the PKGBUILD. You can also use them.

TheGoliath commented on 2020-05-16 11:52

Updated the pkgbuild

WFCody commented on 2019-02-12 17:39

Yes it can be deleted (I am not using it any more)

fryfrog commented on 2019-02-12 16:49

The source URL in this package doesn't even work. And I guess jdk10 replaces it. Should this be deleted?

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: https://aur.archlinux.org/packages/jdk10-openjdk-openj9-bin/#comment-660680

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

pkgname=jdk10-openjdk-openj9-bin
_pkgver_minor="0.2.13"
_pkgver_split="0.2"
_pkgver_build="13"
_pkgver_minweb="0.2%2B13"
_openj_ver="0.9.0"
_majver_java="10"
pkgver=${_majver_java}.${_pkgver_split}u${_pkgver_build}
_pkgsum_name="OpenJDK${_majver_java}-OPENJ9_x64_Linux_jdk-${pkgver}_openj9-${_openj_ver}.sha256.txt"
_pkgsum_sha256="wget -q https://github.com/AdoptOpenJDK/openjdk10-openj9-releases/releases/download/jdk-${_majver_java}.${_pkgver_minweb}_openj9-${_openj_ver}/${_pkgsum_name} && cut -d' ' -f1 ${_pkgsum_name}"
pkgrel=1
pkgdesc="Eclipse (former IBM) OpenJ9 with openjdk10"
arch=('x86_64')
url="https://adoptopenjdk.net/releases.html?variant=openjdk10&jvmVariant=openj9#x64_linux"
license=('custom')
depends=('java-environment-common' 'ca-certificates-utils' 'nss')
provides=(
'java-environment=10'
'java-runtime=10'
'java-runtime-headless=10'
)
makedepends=('coreutils' 'bash' 'wget')
source=("https://github.com/AdoptOpenJDK/openjdk${_majver_java}-openj9-releases/releases/download/jdk-${_majver_java}.${_pkgver_minweb}_openj9-${_openj_ver}/OpenJDK${_majver_java}-OPENJ9_x64_Linux_jdk-${pkgver}_openj9-${_openj_ver}.tar.gz")
noextract=("OpenJDK${_majver_java}-OPENJ9_x64_Linux_jdk-${pkgver}_openj9-${_pkgver_minweb}.tar.gz")
# https://github.com/AdoptOpenJDK/openjdk9-openj9-releases/releases/download/jdk-9%2B181/OpenJDK9-OPENJ9_x64_Linux_jdk-9.181.sha256.txt
# extract automatically? [bash -c "${_pkgsum_sha256}"] Could this work?
sha256sums=('1ef0dab3853b2f3666091854ef8149fcb85970254558d5d62cfa9446831779d1')

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?

https://github.com/AdoptOpenJDK/openjdk9-openj9-releases/releases

https://github.com/AdoptOpenJDK/openjdk9-openj9-releases/releases/download/jdk-9%2B181/OpenJDK9-OPENJ9_x64_Linux_jdk-9.181.sha256.txt
https://github.com/AdoptOpenJDK/openjdk9-openj9-releases/releases/download/jdk-9%2B181/OpenJDK9-OPENJ9_x64_Linux_jdk-9.181.tar.gz

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?
https://github.com/AdoptOpenJDK/openjdk9-releases/blob/master/latest_release.json