wrong classpath in Run.bat

Chris Yang
Added over 5 years ago


I found there is wrong classpath setting in Run.bat when I try to run Tigase after installation .


  1. I download tigase-server-5.2.0-rc1-b3372.jar and install successful

  2. When I start service on windows I got a class not found error

  3. I try to execute Run.bat on window command line , and got the same error

  4. After check I found this error in Run.bat

the raw content in Run.bat :

java -cp "jars/tigase-server.jar;libs/*" -Djdbc.drivers=com.mysql.jdbc.Driver tigase.server.XMPPServer --property-file etc/

But there is no libs directory under the Tigase but jars/ , and all .jar file under jars/ .

So just modify this classpath setting ,the error will be fixed .


java -cp "jars/tigase-server.jar;jars/*" -Djdbc.drivers=com.mysql.jdbc.Driver tigase.server.XMPPServer --property-file etc/

Replies (1)

Added by Wojciech Kapcia TigaseTeam over 5 years ago

Thank you fro bringing this to our attention. I've pushed fixed version to the repository.