Package Details: jdk8-openj9-bin 8.u292.b10-1

Git Clone URL: https://aur.archlinux.org/jdk8-openj9-bin.git (read-only, click to copy)
Package Base: jdk8-openj9-bin
Description: Eclipse (former IBM) OpenJ9 with openjdk8
Upstream URL: https://adoptopenjdk.net/index.html?variant=openjdk8-openj9
Keywords: jdk
Licenses: GPL
Provides: java-environment=8, java-runtime=8, java-runtime-headless=8
Replaces: jdk8-j9-bin
Submitter: KernelFreeze
Maintainer: disastro
Last Packager: disastro
Votes: 12
Popularity: 0.074246
First Submitted: 2017-11-25 21:44
Last Updated: 2021-06-22 07:47

Required by (1000)

Sources (1)

Latest Comments

1 2 Next › Last »

ShroudedNight commented on 2021-01-11 05:15

This package includes its own copy of libfreetype.so.6 that appears to prevent libreoffice from starting up without intervention [1,2].

This seems to occur as a result of UNO modifying the LD_LIBRARY_PATH to 'ease' things for the JVM [3]

[1]

/usr/lib/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib/libreoffice/program/libskialo.so: undefined symbol: FT_Palette_Select

[2]

     23511: find library=libfreetype.so.6 [0]; searching
     23511: search path=/usr/lib/libreoffice/program        (RPATH from file /usr/lib/libreoffice/program/soffice.bin)
     23511:  trying file=/usr/lib/libreoffice/program/libfreetype.so.6
     23511: search path=/usr/lib/libreoffice/program        (RPATH from file /usr/lib/libreoffice/program/soffice.bin)
     23511:  trying file=/usr/lib/libreoffice/program/libfreetype.so.6
     23511: search path=/usr/lib/libreoffice/program        (RPATH from file /usr/lib/libreoffice/program/soffice.bin)
     23511:  trying file=/usr/lib/libreoffice/program/libfreetype.so.6
     23511: search path=/usr/lib/jvm/java-8-j9/jre/lib/amd64/server:/usr/lib/jvm/java-8-j9/jre/lib/amd64        (LD_LIBRARY_PATH)
     23511:  trying file=/usr/lib/jvm/java-8-j9/jre/lib/amd64/server/libfreetype.so.6
     23511:  trying file=/usr/lib/jvm/java-8-j9/jre/lib/amd64/libfreetype.so.6

[3] From /usr/lib/libreoffice/program/uno:

# Extend the LD_LIBRARY_PATH for Java:
epath=$(dirname "$0")
if [ -x "${epath}/javaldx" ] ; then
    jpath=$("${epath}/javaldx" $my_envargs)
    if [ -n "${jpath}" ]; then
        sd_platform=$(uname -s)
        case $sd_platform in
          AIX)
            LIBPATH=${jpath}${LIBPATH:+:${LIBPATH}}
            export LIBPATH
            ;;
          *)
            LD_LIBRARY_PATH=${jpath}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
            export LD_LIBRARY_PATH
            ;;
        esac
    fi
fi

TheGoliath commented on 2020-05-22 13:01

I'd like to participate in the package maintenance :)

boredhero commented on 2020-04-30 17:47

I was able to update the PKGBUILD to use the latest version like so: https://pastebin.com/fftwmK9d Please update on your end when you get the chance.

costcoterrorist commented on 2019-09-02 02:04

Hasn't been updated in almost 5 months.... can maintainer please update or pass it on to someone that can?

Depau commented on 2019-05-23 19:40

reminder to update this package ;)

Depau commented on 2019-03-07 02:51

I requested jdk8-j9-bin to be merged to this package because of the inconsistent naming + broken PKGBUILD, and the request has been accepted. It would be good if you put it in the replaces list, so pacman will prompt users to replace that package when this one is installed, and so that AUR helpers may propose this as a replacement if they implement this feature.

alkalien commented on 2019-02-27 14:03

@KernelFreeze, The latest version is now at 202-b08_openj9-0.12.0, please update it from your end, whenever you get the time.

Meanwhile, I have edited your PKGBUILD accordingly to get it to install and I can confirm that it works on my system.

# Maintainer: Miguel Peláez <kernelfreeze@outlook.com>
# Contributor: WFCody
# Contributor: milgner

pkgname=jdk8-openj9-bin
pkgver=8.${_pkgver_minor}
pkgrel=1

_pkgver_minor="202"
_pkgver_build="08"
_j9_version="0.12.0"

pkgdesc="Eclipse (former IBM) OpenJ9 with openjdk8"
arch=('x86_64')
url="https://adoptopenjdk.net/index.html?variant=openjdk8-openj9"
license=('GPL')
depends=('java-runtime-common' 'java-environment-common' 'ca-certificates-utils' 'nss')
conflicts=('jdk8-j9-bin')

provides=(
'java-environment=8'
'java-runtime=8'
'java-runtime-headless=8'
)

makedepends=('coreutils' 'bash')
source=("https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u${_pkgver_minor}-b${_pkgver_build}/OpenJDK8U-jdk_x64_Linux_openj9_8u${_pkgver_minor}b${_pkgver_build}_openj9-${_j9_version}.tar.gz")
noextract=("OpenJDK8U-jdk_x64_Linux_openj9_8u${_pkgver_minor}b${_pkgver_build}_openj9-${_j9_version}.tar.gz")

# https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u202-b08/OpenJDK8U-jdk_x64_linux_openj9_8u202b08_openj9-0.12.0.tar.gz.sha256.txt
sha256sums=('533dcd8d9ca15df231a1eb392fa713a66bca85a8e76d9b4ee30975f3823636b7')

package() {
    cd "$srcdir"

    mkdir -p "${pkgdir}/usr/lib/jvm/"
    tar -xf OpenJDK8U-jdk_x64_Linux_openj9_8u${_pkgver_minor}b${_pkgver_build}_openj9-${_j9_version}.tar.gz -C "${pkgdir}/usr/lib/jvm/"
    mv "${pkgdir}/usr/lib/jvm/jdk8u${_pkgver_minor}-b${_pkgver_build}" "${pkgdir}/usr/lib/jvm/java-8-j9"
}

milgner commented on 2018-08-29 20:45

While the package is being updated, if you already want to build the latest version, please find an updated PKGBUILD at https://gist.github.com/milgner/941c4825b717fa27433d9daec443c588

KernelFreeze commented on 2018-04-09 19:55

Updated package to latest build. Please flag this as outdated if they release a new version!

zhangkaizhao commented on 2018-04-08 03:43

Hello. The latest version is jdk8u162-b12_openj9-0.8.0 now.

jdk8u162-b12_openj9-0.8.0 for https://aur.archlinux.org/packages/jdk8-openj9-bin https://gist.github.com/zhangkaizhao/e98f5833d5678670a566e0ee49fbc054