@echo off chcp 65001 >nul echo ======================================== echo SLMS CLI Application echo ======================================== echo. set JAVA_HOME=E:\2025-2026\GitAIOps\jdk set PATH=%JAVA_HOME%\bin;%PATH% echo Compiling project... call mvn clean compile -q if %errorlevel% neq 0 ( echo Compilation failed! pause exit /b 1 ) echo. echo Starting CLI application... echo. for /f "delims=" %%i in ('dir /b /s "%USERPROFILE%\.m2\repository\org\xerial\sqlite-jdbc\3.36.0.3\sqlite-jdbc-3.36.0.3.jar" 2^>nul') do set SQLITE_JAR=%%i for /f "delims=" %%i in ('dir /b /s "%USERPROFILE%\.m2\repository\org\slf4j\slf4j-api\1.7.32\slf4j-api-1.7.32.jar" 2^>nul') do set SLF4J_API=%%i for /f "delims=" %%i in ('dir /b /s "%USERPROFILE%\.m2\repository\org\slf4j\slf4j-simple\1.7.32\slf4j-simple-1.7.32.jar" 2^>nul') do set SLF4J_SIMPLE=%%i "%JAVA_HOME%\bin\java.exe" -Dfile.encoding=UTF-8 -cp "target/classes;%SQLITE_JAR%;%SLF4J_API%;%SLF4J_SIMPLE%" com.smartlibrary.SLMS echo. pause