This commit is contained in:
My2ndAngelic 2022-06-16 21:58:03 +02:00
parent c355abc4a7
commit c29b0411cc
7 changed files with 12 additions and 324 deletions

9
packages/java/18.0.1.1/build.sh vendored Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Put instructions to build your package in here
curl "https://download.java.net/java/GA/jdk18.0.1.1/65ae32619e2f40f3a9af3af1851d6e19/2/GPL/openjdk-18.0.1.1_linux-x64_bin.tar.gz" -o java.tar.gz
tar xzf java.tar.gz --strip-components=1
rm java.tar.gz

4
packages/java/18.0.1.1/environment vendored Normal file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH=$PWD/bin:$PATH

5
packages/java/18.0.1.1/metadata.json vendored Normal file
View file

@ -0,0 +1,5 @@
{
"language": "java",
"version": "18.0.1.1",
"aliases": []
}

7
packages/java/18.0.1.1/run vendored Normal file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Put instructions to run the runtime
mv $1 $1.java
filename=$1.java
shift
java $filename "$@"

5
packages/java/18.0.1.1/test.java vendored Normal file
View file

@ -0,0 +1,5 @@
public class HelloWorld {
public static void main(String[] args) {
System.out.println("OK");
}
}