|
From: dejw <de...@ma...> - 2006-08-18 07:26:20
|
Hi all, I finally found solution. I found that in gridsam-client.jar in manifest file there was Class-Path - I had to remove this entry although paths were good. Then I had to modify all 'bat' scripts in this way: I added new classpath: set CLASSPATH=.;!CLASSPATH! for %%i in (%GRIDSAM_HOME%\lib\*.jar) do SET CLASSPATH=!CLASSPATH!;%%i set CLASSPATH=!CLASSPATH!;%OMII_CLIENT_HOME%\conf What is important to say: this will work only if you have delayed expansion of variables enabled: http://www.winguides.com/registry/display.php/825/ and I removed also: -cp "%CLASSPATH%" from the java command line as it is too long then. And then scripts worked well. Cheers, Dawid dejw wrote: > Hi, > > I installed omii client 3.0.1 and GridSAM client 2.0.0 on Windows XP. > Then I tried to run 'gridsam-version.bat'. Unfortunately then I had error: > > c:\devel\omii\OMIICLIENT\gridsam\bin>gridsam-version > Exception in thread "main" java.lang.NoClassDefFoundError: > org/icenigrid/gridsam/client/cli/GridSAMVersion > > I checked the script and everything seems to be OK, the path is set > correctly: > > set OMII_CLIENT_HOME=c:\devel\omii\OMIICLIENT > > I didn't have also any errors during installation. > > The target jar also seems to be OK - gridsam-client.jar. > > Any idea? > > Thanks in advance, > Dawid Szejnfeld > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > GridSAM-Discuss mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsam-discuss > |