Problem executing spark using startup.bat

After ant i went to target directory and found the following text in startup.bat file

java -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/xpp.jar;…/lib/xstr eam.jar;…/lib/i4jruntime.jar;…/resources org.jivesoftware.Spark

All jar files are present except org.jivesoftware.Spark in …/resources location.

and when i use this startup.bat file in command line to execute i am getting the error which states:

java.lang.ExceptionInInitializerError

at org.jivesoftware.Spark.(Spark.java:172)

any idea what to do here ? thanks in advance

Try this one:

java -Ddebug.mode=true -Dappdir=… -cp …/.install4j/i4jruntime.jar;…/.install4j/user.jar;…/lib/spark.jar;…/lib/bas e.jar;…/lib/smack.jar;…/lib/windows/jdic.jar;…/lib/smackx.jar;…/lib/smackx-d ebug.jar;…/lib/activation.jar;…/lib/mail.jar;…/lib/filetransfer.jar;…/resour ces org.jivesoftware.Spark

thanks for ur reply

i tried this but still having same error. i guess it is looking for org.jivesoftware.Spark in target Resources folder. I check resources folder and it doesn’'t have org.jivesoftware.Spark.

Any help ?

Message was edited by: mansoor