micropython/tests/jni/system_out.py

10 wiersze
149 B
Python

import sys
try:
import jni
System = jni.cls("java/lang/System")
except:
print("SKIP")
sys.exit()
System.out.println("Hello, Java!")