@echo off if not exist target mkdir target if not exist target\classes mkdir target\classes echo compile classes javac -nowarn -d target\classes -sourcepath jvm -cp "d:\2023new\c2java\jni4net-0.8.8.0-bin\lib\jni4net.j-0.8.8.0.jar"; "jvm\ledshow\CodeUtil.java" "jvm\ledshow\LedBean.java" "jvm\ledshow\ResultData.java" IF %ERRORLEVEL% NEQ 0 goto end echo LedShow.j4n.jar jar cvf LedShow.j4n.jar -C target\classes "ledshow\CodeUtil.class" -C target\classes "ledshow\LedBean.class" -C target\classes "ledshow\ResultData.class" > nul IF %ERRORLEVEL% NEQ 0 goto end echo LedShow.j4n.dll csc /nologo /warn:0 /t:library /out:LedShow.j4n.dll /recurse:clr\*.cs /reference:"D:\2023new\c2java\LedShow\LedShow\bin\x64\Debug\LedShow.dll" /reference:"D:\2023new\c2java\jni4net-0.8.8.0-bin\lib\jni4net.n-0.8.8.0.dll" IF %ERRORLEVEL% NEQ 0 goto end :end