Java Executor Support for Linux
Main Project (for Windows)present here.
-
Download java:
sudo apt install openjdk-8-jdk-headless
and python:sudo apt install python3
-
Copy Java_Executor.sh, Filename_class.py, and Filename_java.py to the folder where you want to execute the java file.
Locaton of file in the same folder where java files are kept -
Execute Java_Executor.sh with this command
./Java_Executor.sh
After Running./Java_Executor.sh
-
Enter the File number you want to execute, the script will execute the java file if there is no error.
Output of a program