Project

General

Profile

wrong classpath in Run.bat

Chris Yang
Added about 5 years ago

Dears,

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

Details:

  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/init.properties

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 .

Fix:

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


Replies (1)

Added by Wojciech Kapcia TigaseTeam about 5 years ago

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

    (1-1/1)