Most probably GRIDGAIN_HOME environment variable is not set or is set incorrectly. Please, set GRIDGAIN_HOME to your GridGain installation folder.
题
When I start GridGain node, I get the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/gridgain/grid/loaders/cmdline/GridCommandLineLoader
How to fix it?
解决方案 2
其他提示
Dmitriy is correct GRIDGAIN_HOME environment variable is not set or is set incorrectly. this is how you can set it.
Windows
SET GRIDGAIN_HOME=your_installation_home
Linux and UNIX:
export GRIDGAIN_HOME=your_installation_home
source http://atlassian.gridgain.com/wiki/display/GFAQ/Troubleshooting+FAQ#
不隶属于 StackOverflow