Hi everyone,
I am trying to execute an sh file but I get the error:
Could not find or load main class test.test
The content of the sh file is:
#! /bin/sh
properties=....properties
config=....xml
classdir=..dir..
servletlib=....
java -Xmx1000m -Xss1024k -cp test.jar:$servletlib test.test $properties $config $classdir
As the sh file is in the same directory as the test.jar, I even tried .. -cp ./test.jar .... but, it still did not work.
If its important I'm using Win7 and Git bash in order to execute the file.
Could anyone please guide me?
Regards