[kepler-users] can not find java main class

Fatemeh Karimirad karimirad80 at yahoo.com
Tue Mar 8 23:19:13 PST 2011


Dear Kepler users,

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:

C:\kepler-test>kepler-console.bat -runwf paint.xml
Exception in thread "main" java.lang.NoClassDefFoundError: org/kepler/loader/Kepler
Caused by: java.lang.ClassNotFoundException: org.kepler.loader.Kepler
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.kepler.loader.Kepler.  Program will exit.

Kepler is installed in "C:\Program Files\Kepler-1.0.0" and here is the kepler-console batch file:
@echo off
REM This script starts Kepler or runs a workflow.
REM Run with -h to see all command-line options.
REM
REM This file was automatically generated from 'ant build_kepler_cmdline'.
REM $Id; build.xml,v 1.379.2.13 2008/04/29 23;28;13 berkley Exp $
REM
set KEP=%~dp0
cd %KEP%
REM ignore this line
set CLASSPATH=.;./configs;./lib;./lib/images;./build/kepler.jar;./build/kepler-icons.jar

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

Does anyone have any idea?

Thanks,
Fatemeh


F at TeMeH |(@RiMiR@|)


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20110308/6867d4e3/attachment.html>


More information about the Kepler-users mailing list