Hi Peter,
I just doublechecked that modeler.bat is OK. I downloaded 1.0a6, and
simply doubleclicked on it. It worked. It worked from the command line
too. So what may be wrong with yours? Try checking a few things:
1. Do you have JDK 1.4? CayenneModeler tool requires it (though cayenne
itself can run on 1.3).
2. Did you move around cayenne jars and/or .bat files after you unpacked
Cayenne? modeler.bat relies on the relative location of these files.
BTW, since a6 CAYENNE_HOME is optional. modeler.bat will guess where the
jars are located based on its own location.
Andrus
> I have the following problem:
>
> I have set all the environment variables to the right values (JAVA_HOME,
> CAYENNE_HOME). Installed Cayenne in C:\cayenne-1.0a6.
>
> When I run modeller.bat I receive the JVM error:
>
> Could not find the main class. Program wil exit!
>
>
> Has anyone an idea about what could be wrong?
>
> Thanx,
>
> Peter.
This archive was generated by hypermail 2.0.0 : Fri Feb 07 2003 - 09:59:13 EST