Hello,
please try the following:
java -cp
/opt/lib/*:/path-to-your-working-directory-where-class-files-are-stored/
com.cache.init.ServerNodeCodeStartup
I think that these links will be very helpful for you:
https://stackoverflow.com/questions/219585/including-all-the-jars-in-a-directory-within-th
Running below command in UNIX and getting error.it runs fine in windows
in eclipse..any help on this?
1. java -cp /opt/lib/*.jar:/opt/com/test/cache/*.*:/opt/com/test/config/*.*
ServerNodeCodeStartup Error: Could not find or load main class
ServerNodeCodeStartup
2. java -cp /opt
is any help on this?
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
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/*.cla
You cannot include JARs into another JAR, Java is not going to add them to
classpath. You should list all required JARs in the '-cp' parameter, or
create an uber-JAR with all the dependencies unpacked there.
-Val
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
I don't have IGNITE_HOME set up from my windows- eclipse and able to run
without any issue.
I have ignite-core, ignite-spring, ignite-indexing and ignite-rest-http in
the pom.xml.
I am trying to run same structure in UNIX. I have required libs in the jar.
Is anything am i missing?
--
Sent from
Hi,
Did you add to IGNITE_HOME to the path?
https://apacheignite.readme.io/docs/getting-started#section-with-default-configuration
In case if you are going to create maven project then you still need to
download the binaries and set the IGNITE_HOME:
https://ignite.apache.org/download.cgi
BR,
A
Hello,
I am trying to run Ignite in Unix and getting below error. Same program runs
works from Eclipse.
Command:
java -cp /opt/cache/ignite-cache.jar
com/test/cache/init/ServerNodeCodeStartup
Packaged into ignite-cache.jar
Class Structure:
-com/test/cache/*.classes
-lib/*.jar
-META-INF
O