Package Details: jdk-microsoft-openjdk 17.0.5.u8-1

Git Clone URL: https://aur.archlinux.org/jdk-microsoft-openjdk.git (read-only, click to copy)
Package Base: jdk-microsoft-openjdk
Description: Microsoft Build of OpenJDK
Upstream URL: https://www.microsoft.com/openjdk
Licenses: custom
Provides: java-environment, java-environment-openjdk, java-runtime, java-runtime-headless, java-runtime-headless-openjdk, java-runtime-openjdk, jdk-openjdk, jdk17-openjdk, jre-openjdk, jre-openjdk-headless, jre17-openjdk, jre17-openjdk-headless, openjdk-src, openjdk17-src
Submitter: dusansimic
Maintainer: dusansimic
Last Packager: dusansimic
Votes: 1
Popularity: 0.006446
First Submitted: 2021-11-05 22:34 (UTC)
Last Updated: 2022-11-06 08:24 (UTC)

Required by (2767)

Sources (4)

Latest Comments

edwingustafson commented on 2022-06-02 12:54 (UTC) (edited on 2022-06-02 12:56 (UTC) by edwingustafson)

Fails to install because download location yields an HTML document, not the archive file.

$ curl -s -O -L https://aka.ms/download-jdk/microsoft-jdk-17.0.3.7-linux-x64.tar.gz

$ file microsoft-jdk-17.0.3.7-linux-x64.tar.gz

microsoft-jdk-17.0.3.7-linux-x64.tar.gz: HTML document, Unicode text, UTF-8 text, with very long lines (50915)

The URL on the vendor download page https://docs.microsoft.com/en-us/java/openjdk/download is different, and it yields a usable archive.

$ curl -s -O -L https://aka.ms/download-jdk/microsoft-jdk-17.0.3-linux-x64.tar.gz

$ file microsoft-jdk-17.0.3-linux-x64.tar.gz

microsoft-jdk-17.0.3-linux-x64.tar.gz: gzip compressed data, was "microsoft-jdk-17.0.3_7-32931-linux-x64.tar", last modified: Wed Apr 20 04:35:22 2022, max compression, original size modulo 2^32 332349440

FabioLolix commented on 2021-11-06 12:23 (UTC)

This isn't a .jar program and jdk-adoptopenjdk is making the same mistake

dusansimic commented on 2021-11-06 11:53 (UTC) (edited on 2021-11-06 11:53 (UTC) by dusansimic)

@FabioLolix Thanks for the comment but I don't think that's a requirement in this case. Per AUR submission guidelines, it's required for packages that use prebuilt deliverables to have -bin suffix with an exception for Java programs. I'm not completely sure weather JDK qualifies as a Java program in this case however I noticed that jdk-adoptopenjdk for example uses prebuild deliverable but does not have a -bin suffix. That's why I omitted the suffix here. If there is an official discussion or documentation suggesting otherwise, I'd be happy to change the pkgname :)

FabioLolix commented on 2021-11-06 09:33 (UTC)

Hello, your microsoft openjdk builds pkgbuild need to be re-uploaded with -bin suffix since the program is open source and you are repackging binaries