Skip to content

Commit 11948fb

Browse files
authored
Create run.bat
1 parent 0b30a15 commit 11948fb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

run.bat

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
@echo off
2+
title JavaBooks Launcher
3+
4+
echo Compiling JavaBooks...
5+
javac com/javabooks/*.java
6+
7+
if %errorlevel% neq 0 (
8+
echo Compile error!
9+
pause
10+
exit
11+
)
12+
13+
echo Running JavaBooks...
14+
java com.javabooks.Main
15+
16+
pause

0 commit comments

Comments
 (0)