After I compile my spark source I can run startup.bat in windows.
How can I run spark in Linux and where can I get or make a spark exe for windows so I dont have to have the java dos window open when I run startup.bat.
Any info is helpful.
Thanks.
LG1
August 14, 2006, 6:45pm
2
Hi,
you could use “javaw.exe” to run it in background, maybe together with “start”. I did post a similar bat script some months ago.
LG
Excellent advice.
It lead me right down the right track and I now have a solution.
I altered the startup.bat batch file to call on javaw.exe like this:
start /b C:\Progra~1\f1-spark\jre\bin\javaw.exe
So my script is now as follows:
start /b C:\Progra~1\f1-spark\jre\bin\javaw.exe -Dappdir=… -cp …/lib/spark.jar;…/lib/base.jar;…/lib/smack.jar;…/lib/windows/jdic.jar;…/li b/smackx.jar;…/lib/smackx-debug.jar;…/lib/dom4j.jar;…/lib/activation.jar;…/l ib/mail.jar;…/lib/xpp.jar;…/lib/xstream.jar;…/resources org.jivesoftware.Spark
This loads Spark with no DOS window in the backgroud.
Thanks again.