I am trying to run a java class from a .jar file in unix environment, but i am getting the following error,
Exception in thread "main" java.lang.NoClassDefFoundError: SystemBootstrap
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Caused by: java.lang.ClassNotFoundException: SystemBootstrap not found in gnu.gcj.runtime.SystemClassLoader{urls=[],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
The command i am using to run the class is
java -cp BatchFramework.jar SystemBootstrap dnqLtrBatch DEV1
SystemBootstrap is the class to be called , i am not able to solve this.And i am very new to unix.