ignite::IgniteConfiguration cfg;
cfg.igniteHome = "ApacheIgnite/";
cfg.springCfgPath = "Setting/odbc.xml";
cfg.jvmLibPath = "/opt/jdk1.8.0_192/lib/libjvm.so";
cfg.jvmClassPath = "ApacheIgnite/libs/ignite-core-2.6.0.jar;ApacheIgnite/libs/cache-api-1.0.0.jar";
cfg.jvmMaxMem = 1024*10;
cfg.jvmInitMem = 1024*5;
ignite::Ignite grid = ignite::Ignition::Start(cfg);
all the compiler flags are set up.
on running this program. it crash stating given error.
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
and i searched about this. it say you have install java wrongly and having problem starting JVM. but all installing process is done by yum install method, so i don't think it's installation problem.
Aucun commentaire:
Enregistrer un commentaire