i have a javafx gui programe which work fine in windows, I can run this .jar using python in my local PC and get output, but when try to do same using google colab I got this error
my JavaFX GUI file named: ex4.jar
code:
from subprocess import Popen, PIPE, STDOUT
p = Popen(['java', '-jar', 'ex4.jar' , '3'], stdout=PIPE, stderr=STDOUT)
for line in p.stdout:
print ( line)
I got error:
b'Error: Could not find or load main class frontend.App\n'
b'Caused by: java.lang.NoClassDefFoundError: javafx/application/Application\n'