summaryrefslogtreecommitdiff
path: root/trunk/users/adrian/host/lib/system-dependent/windows-i586/reprap.bat
blob: bbeaee5988650fc612da90a903a4125a4093df41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
rem reprap-host -- runs Reprap Java host code with an appropriate classpath

rem Amount of RAM to allow Java VM to use
set RAM_SIZE=384M

rem reprap.jar file and stl file
set REPRAP_DIR=%ProgramFiles%\Reprap

rem Java3D and j3d.org libraries
rem set JAVA_LIBRARY_DIR=%ProgramFiles%\Reprap


rem cd so we can find the reprap-wv.stl file.  Can we avoid this??
IF NOT EXIST reprap-wv.stl cd "%REPRAP_DIR%"
java -cp ".\reprap.jar;.\RXTXcomm.jar;.\j3dcore.jar;.\j3d-org-java3d-all.jar;.\j3dutils.jar;.\swing-layout-1.0.3.jar;.\vecmath.jar;." -Xmx%RAM_SIZE% org/reprap/Main
if ERRORLEVEL 1 pause