Moving to Java 19

This commit is contained in:
DarkFeather 2023-01-25 22:55:07 -06:00
parent fc466113d8
commit 2009cd8cff
Signed by: DarkFeather
GPG Key ID: 1CC1E3F4ED06F296
2 changed files with 3 additions and 3 deletions

View File

@ -28,8 +28,8 @@ checkperm:
c: HelloWorld.c /usr/bin/gcc
gcc -o HelloWorld HelloWorld.c
java: HelloWorld.java /usr/lib/jvm/java-18-openjdk/bin/javac /usr/lib/jvm/java-18-openjdk/bin/java
/usr/lib/jvm/java-18-openjdk/bin/javac HelloWorld.java
java: HelloWorld.java /usr/lib/jvm/java-19-openjdk/bin/javac /usr/lib/jvm/java-19-openjdk/bin/java
/usr/lib/jvm/java-19-openjdk/bin/javac HelloWorld.java
bash: HelloWorld.bash /usr/bin/bash
#bash HelloWorld.bash

View File

@ -28,7 +28,7 @@ def test_cs():
def test_java():
print(os.getcwd())
fh = os.popen("/usr/lib/jvm/java-18-openjdk/bin/java HelloWorld", mode='r', buffering=-1)
fh = os.popen("/usr/lib/jvm/java-19-openjdk/bin/java HelloWorld", mode='r', buffering=-1)
output = fh.read()
retcode = fh.close()
assert retcode == None and CheckOutput(output)