From 7ca6d40afb94c452d779b48c59a7fa87f804e434 Mon Sep 17 00:00:00 2001 From: Srinesh Nisala Date: Tue, 28 May 2024 23:21:44 +0530 Subject: [PATCH] fix: java bin is not added to the bin directory (#15) --- packages/openjdk-17/package.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/openjdk-17/package.yaml b/packages/openjdk-17/package.yaml index 1a40e04..e4eec12 100644 --- a/packages/openjdk-17/package.yaml +++ b/packages/openjdk-17/package.yaml @@ -18,12 +18,16 @@ source: - target: [darwin_x64, darwin_arm64] files: openjdk-17.0.2.tar.gz: https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_macos-x64_bin.tar.gz + bin: jdk-17.0.2.jdk/Contents/Home/bin/java - target: linux files: openjdk-17.0.2.tar.gz: https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-x64_bin.tar.gz + bin: jdk-17.0.2/bin/java - target: win files: openjdk-17.0.2.zip: https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_windows-x64_bin.zip - + bin: jdk-17.0.2/bin/java +bin: + java: "{{source.download.bin}}"