Booting Seco on Win7

12 views
Skip to first unread message

Jack Park

unread,
Jun 25, 2011, 5:41:32 PM6/25/11
to scr...@googlegroups.com
I downloaded the windows build and soon discovered the run.cmd
(sometimes called run.bat) file had some pre-built settings that
needed changing.
For instance, I set %JAVA_HOME% in the System properties so it already
exits. SECO_HOME was set to something like CD, but, for me, it is
precisely the location where run.cmd exists. I pasted in below the
version that runs. Note the reference /amd64 binaries.

Jack

@echo off
rem set JAVA_HOME=
set SECO_HOME=.

::Uncomment this and change the path if you have profile name with
accent or if you wish to specify a different location for Seco
repository
::set SECO_CLASS_REPOSITORY_HOME = C:/temp/.secoRepository

set SECO_CLASSPATH="%SECO_HOME%/seco.jar"
set SECO_NATIVE=%SECO_HOME%/lib/native/windows/amd64
set JAVA_EXEC="%JAVA_HOME%/bin/java"

set PATH=%SECO_NATIVE%;%PATH%

set LIB_JARS=
echo set LIB_JARS=%%~1;%%LIB_JARS%%>append.bat
dir /s/b lib\*.jar > tmpList.txt
FOR /F "usebackq tokens=1* delims=" %%i IN (tmpList.txt) do (call
append.bat "%%i")
del append.bat
del tmpList.txt
set SECO_CLASSPATH=%LIB_JARS%;%SECO_CLASSPATH%

%JAVA_EXEC% -cp %SECO_CLASSPATH% -Djava.library.path=%SECO_NATIVE%
seco.boot.StartMeUp

Reply all
Reply to author
Forward
0 new messages