RE: AW: cannot use cayenneModeler

From: Michael Schuldt (m..scensys.de)
Date: Mon Jan 06 2003 - 08:35:06 EST

  • Next message: ti..e7en.ru: "distinct"

    Thx, this solved my problems.

    Now I can go on trying to use cayenne. Let's hope that there won't be any
    further problems.

    Michael

    > -----Original Message-----
    > From: Holger Hoffstätte [mailto:holge..izards.de]
    > Sent: Friday, January 03, 2003 10:03 PM
    > To: cayenne-use..bjectstyle.org
    > Subject: Re: AW: cannot use cayenneModeler
    >
    >
    > Andrus Adamchik wrote:
    > > From the exception you sent it is clear that MySQL Driver is
    > not accessible
    > > to CayenneModeler (more precisely - to the JVM that started
    > Modeler). I know
    > > on Windows sometimes both JDK and JRE are installed in separate
    > locations (I
    > > am not sure if this is still the case). So I guess we are
    > getting closer.
    >
    > This is still the case (in fact the JRE is installed *twice* - once with
    > the JDK and once alone, for WebStart and the browser plugin) and a
    > constant source of unnecessary confusion - just because the people at
    > JavaSoft are so terribly careless. Maybe they don't want Java to be easy,
    > it's a real pity.
    > The JDK contains a JRE with a lib/ext directory that _most likely will not
    > be used_. The one that _will_ be used is most likely in
    > C:\Programs\Java\Java Runtime Environment or something like that. Which
    > JRE is used is determined by a bunch of registry keys under
    > "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment".
    >
    > ** Cool trick to make life easier for developers **
    >
    > - make sure you have the SDK installed, not just the JRE
    > - delete the standalone JRE in Programs\Java\Java Runtime Environment or
    > whatever it's called
    > - hunt the registry for all (now stale) C:\Programs\Java\.. references and
    > point them to the JRE in the JDK installation location instead
    >
    > ..et voilá: a JRE and lots of paths less to worry about. I totally hate
    > doing this every time I install a new SDK but it really makes life easier
    > for me.
    >
    > -h



    This archive was generated by hypermail 2.0.0 : Mon Jan 06 2003 - 08:34:05 EST