Thank you. I have all jars in lib as below and added to the cp command.

lib folder -
./lib/ignite-indexing-2.5.0.jar
./lib/ignite-rest-http-2.5.0.jar
./lib/mssql-jdbc-6.4.0.jre8.jar
./lib/ignite-slf4j-2.5.0.jar 
./ib/...jar

source code compiled as below structure(.class)
-com/cache/constant/*.class
-com/cache/domain/*.class
-com/cache/load/*.class
-com/cache/init/ServerNodeCodeStartup.class


Tried both below.
1)java -cp ./opt/lib/*.jar com/cache/init/ServerNodeCodeStartup and output
Error: Could not find or load main class
com.cache.init.ServerNodeCodeStartup

2)cd /com/cache/init/
Tried java -cp ./opt/lib/*.jar ServerNodeCodeStartup and output
Error: Could not find or load main class ServerNodeCodeStartup








--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to