I am new to moodle.I am developing java course module in moodle.I want to add feature of java program editor in my course module where user
can write java code on moodle editor and press submit button to see result/output of program.When submit is pressed,output or compilation
error could be displayed.(similar to try it online on w3schools.com)
In this context,I had made research on java related plugins in moodle.I found useful plugins,two of them are:
1)Javaunittest-It is a question type,which uses junit test framwork for checking output.
I was able to execute partially.It shows following error:
Junit Test File error:test class is missing.
2)Java Online plugin : It is implemented using PHP/Javabridge which provides communication channel between Moodle and Java web server.
It shows following error:
Plugin "qtype_myjavaonlineentifier" is defective or outdated, can not continue, sorry.
Plugin is not compatible with moodle 2.0 or later.
Error code: detectedbrokenplugin
Stack trace:
line 431 of \lib\upgradelib.php: plugin_defective_exception thrown
line 1586 of \lib\upgradelib.php: call to upgrade_plugins()
line 386 of \admin\index.php: call to upgrade_noncore()
Is their any other approach or a way around to compile,execute the java code on moodle editor?
Thank you,
vaibhav