<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Dear Kepler users,<br><br>I want to run a workflow from command-line in Windows XP. I tried with kepler-console.bat but it says it can not find the main class:<br><br><span style="font-weight: bold;">C:\kepler-test>kepler-console.bat -runwf paint.xml</span><br style="font-weight: bold;"><span style="font-weight: bold;">Exception in thread "main" java.lang.NoClassDefFoundError: org/kepler/loader/Kep</span><span style="font-weight: bold;">ler</span><br style="font-weight: bold;"><span style="font-weight: bold;">Caused by: java.lang.ClassNotFoundException: org.kepler.loader.Kepler</span><br style="font-weight: bold;"><span style="font-weight: bold;">        at java.net.URLClassLoader$1.run(Unknown Source)</span><br style="font-weight: bold;"><span style="font-weight: bold;">        at
 java.security.AccessController.doPrivileged(Native Method)</span><br style="font-weight: bold;"><span style="font-weight: bold;">        at java.net.URLClassLoader.findClass(Unknown Source)</span><br style="font-weight: bold;"><span style="font-weight: bold;">        at java.lang.ClassLoader.loadClass(Unknown Source)</span><br style="font-weight: bold;"><span style="font-weight: bold;">        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)</span><br style="font-weight: bold;"><span style="font-weight: bold;">        at java.lang.ClassLoader.loadClass(Unknown Source)</span><br style="font-weight: bold;"><span style="font-weight: bold;">Could not find the main class: org.kepler.loader.Kepler.  Program will exit.</span><br style="font-weight: bold;"><br>Kepler is installed in "C:\Program
 Files\Kepler-1.0.0" and here is the kepler-console batch file:<br><span style="font-weight: bold;">@echo off</span><br style="font-weight: bold;"><span style="font-weight: bold;">REM This script starts Kepler or runs a workflow.</span><br style="font-weight: bold;"><span style="font-weight: bold;">REM Run with -h to see all command-line options.</span><br style="font-weight: bold;"><span style="font-weight: bold;">REM</span><br style="font-weight: bold;"><span style="font-weight: bold;">REM This file was automatically generated from 'ant build_kepler_cmdline'.</span><br style="font-weight: bold;"><span style="font-weight: bold;">REM $Id; build.xml,v 1.379.2.13 2008/04/29 23;28;13 berkley Exp $</span><br style="font-weight: bold;"><span style="font-weight: bold;">REM</span><br style="font-weight: bold;"><span style="font-weight: bold;">set KEP=%~dp0</span><br style="font-weight: bold;"><span style="font-weight: bold;">cd %KEP%</span><br
 style="font-weight: bold;"><span style="font-weight: bold;">REM ignore this line</span><br style="font-weight: bold;"><span style="font-weight: bold;">set CLASSPATH=.;./configs;./lib;./lib/images;./build/kepler.jar;./build/kepler-icons.jar</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">java -Xmx512m -Xss5m -DKEPLER="%~dp0." -DKEPLER_DOCS="%~dp0." -Djava.endorsed.dirs=./lib/jar/base-jars/apache -Djava.library.path=./lib org.kepler.loader.Kepler %1 %2 %3 %4 %5 %6 %7 %8 %9</span><br><br>Does anyone have any idea?<br><br>Thanks,<br>Fatemeh<br><br><br>F@TeMeH |(@RiMiR@|)</td></tr></table><br>