Created
July 27, 2022 10:46
-
-
Save IamManchanda/598f4a2a0332727cae1208992de91e93 to your computer and use it in GitHub Desktop.
Bash Script for Running Main.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/bin/bash | |
clear | |
echo "" | |
echo "Compiling and Running Java Program..." | |
javac -d ./__prod Main.java | |
echo "" | |
echo "----------------------------------------------------------------------------------------------------------------------------------------------------------------" | |
echo "" | |
java -cp ./__prod Main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment