Using clover.bat

Hey there.

First off I would like to say that I really enjoy CloverETL. I have been working with SSIS for a while now, and it was a breath of fresh air to try out CloverETL.

I have made my first ETL package with Clover and want to set it to a schedule. I am using the clover.bat script to help me run it.

I made the system variables JAVA_HOME and CLOVER_HOME and I beleave that I have them correctly configured.

However… when I try to run one of my graphs, I run into this error:

C:\Testing\Vaki_ETL>“C:\Program Files\CloverETL\jdk1.6.0_20\bin\java.exe” -cla
sspath “;;C:\Program Files\CloverETL\plugins\com.cloveretl.gui_3.2.1\lib\bin\;C:
\Program Files\CloverETL\jdk1.6.0_20\lib\tools.jar;” “-Dclover.home=C:\Program F
iles\cloverETL” org.jetel.main.runGraph -plugins “C:\Program Files\cloverETL\plu
gins” graph\Fact_Tables.grf
Exception in thread “main” java.lang.NoClassDefFoundError: org/jetel/main/runGra
ph
Caused by: java.lang.ClassNotFoundException: org.jetel.main.runGraph
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.jetel.main.runGraph. Program will exit.

Did I mess up my Java refferance, or is this class simply missing ?

I would love to get your input on this.

Hi Vaki,

http://wiki.clovergui.net/doku.php?id=running&s[]=engine” should help you.

Hi kubosj.

I have looked at that post. It recommends that i run the clover.bat.

Thats what I did, but when it tries to run org.jetel.main.runGraph, java complains that it cannot be found.

Im wondering if I am missing some crucial plugin. For example I do not have a file or folder on my filesystem called org.jetel.main.

Thanks for your feedback

Hi Vaki,

what about do not set CLOVER_HOME? Script “clover.bat” should deduce location of installation from own disc location.

Also: what kind of cloveretl you use?
* own build of engine
* community designer
* designer (paid/trial)
* …?