Moving to Java 19
This commit is contained in:
parent
fc466113d8
commit
2009cd8cff
4
Makefile
4
Makefile
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user