run-jar.bat 343 B

123456789101112
  1. @echo off
  2. echo Running Chronic Disease App from JAR...
  3. REM Check if the JAR file exists
  4. if not exist "target\ChronicDiseaseApp-1.0-SNAPSHOT.jar" (
  5. echo Error: JAR file not found. Please build the project first using 'mvn package'.
  6. pause
  7. exit /b 1
  8. )
  9. echo Starting application...
  10. java -jar target\ChronicDiseaseApp-1.0-SNAPSHOT.jar