OSDN Git Service

lejos_NXJ_win32_0_6_0beta.zip
[nxt-jsp/lejos_nxj.git] / nxtOSEK / lejos_nxj / bin / nxjmonitor.bat
diff --git a/nxtOSEK/lejos_nxj/bin/nxjmonitor.bat b/nxtOSEK/lejos_nxj/bin/nxjmonitor.bat
new file mode 100644 (file)
index 0000000..9b844e6
--- /dev/null
@@ -0,0 +1,12 @@
+@echo off\r
+if "%NXJ_HOME%" == ""  goto homeless\r
+\r
+set THIRDPARTY_LIBS=%NXJ_HOME%\3rdparty\lib\r
+\r
+java "-Djava.library.path=%NXJ_HOME%\bin" "-Dnxj.home=%NXJ_HOME%" -classpath "%THIRDPARTY_LIBS%\bcel-5.1.jar;%THIRDPARTY_LIBS%\commons-cli-1.0.jar;%NXJ_HOME%\lib\pctools.jar;%NXJ_HOME%\lib\pccomm.jar;%THIRDPARTY_LIBS%\bluecove.jar" lejos.pc.tools.NXJMonitor %*\r
+goto end\r
+\r
+:homeless\r
+echo NXJ_HOME not defined\r
+\r
+:end\r