Re: 1.2M9 - Windows Modeler startup issue

From: Steve Wells (stwell..wnmail.net)
Date: Sun Dec 18 2005 - 19:30:49 EST

  • Next message: Marcin Skladaniec: "Question about localObjects()"

    ok, the Gold star award goes to Cris!

    I checked the Registry locations and sure enough there were some
    pointing to jdk 1.4.2 which didn't exist (well the directory on the
    filesystem was still there, so maybe it didn't uninstall properly).
    Anyway so I clobbered the 1.4.2 refs and got the same error,
    re-installed 1.5 and it works (with new reg entries). Who would've
    thought the registry would ever get muddled up ;)

    Thanks all for your help for such a silly little problem!

    Regards,

    Steve

    -- 
    http://www.fastmail.fm - One of many happy users:
      http://www.fastmail.fm/docs/quotes.html
    

    ----- Original message ----- From: "Joshua Pyle" <joshua.t.pyl..mail.com> To: cayenne-use..bjectstyle.org Date: Fri, 16 Dec 2005 15:44:50 -0700 Subject: Re: 1.2M9 - Windows Modeler startup issue

    Interesting, there's a JavaHome in the registry. I learn something new every day

    I guess Steve should check his registry :-)

    -- Joshua T. Pyle Go has always existed.

    On 12/16/05, Cris Daniluk <cris.danilu..mail.com> wrote: > No, its the registry :) > > Try unsetting JAVA_HOME and PATH entirely and running > CayenneModeler.exe.. I think you will find that if it worked before, > it will work again without the env vars > > Why do you think the PATH matters, anyway? This isn't a shell script, > its an exe... it can (and does) read the registry settings. If you're > still skeptical of my claims, open regedit and look at the keys I list > below. Why do they exist if they are never read? > > p.s. if you install a JRE and no JDK, you will not have Java in your > PATH or a JAVA_HOME env var... and Cayenne will still run. > > Anyway, check the registry keys: > > HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\CurrentVersion > > HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\{current version value}\JavaHome > HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\{current version > value}\RuntimeLib > > p.s. I don't believe that javaw.exe is even invoked via the JLauncher > native executables. Most executors now use jvm.dll, but the error > message is out-of-date. > > On 12/16/05, Joshua Pyle <joshua.t.pyl..mail.com> wrote: > > If JAVA_HOME or PATH do not get used then how would the exe actually > > find javaw.exe to execute? > > > > The big key is the PATH variable > > > > Joshua T. Pyle > > > > On 12/16/05, Cris Daniluk <cris.danilu..mail.com> wrote: > > > Actually, JAVA_HOME has nothing to do with the javaw.exe that will be > > > executed. Remember, this is an exe, not a shell wrapper like the old > > > style. Check out these links: > > > > > > http://forum.java.sun.com/thread.jspa?threadID=684210&messageID=3984733 > > > > > > http://mindprod.com/jgloss/flipping.html > > > > > > Should help. > > > > > > On 12/16/05, Joshua Pyle <joshua.t.pyl..mail.com> wrote: > > > > I would double check the JAVA_HOME environment variable and make sure > > > > the java install you use is the first item in your PATH env variable > > > > > > > > -- > > > > Joshua T. Pyle > > > > Go has always existed. > > > > > > > > > > > > On 12/15/05, Steve Wells <stwell..wnmail.net> wrote: > > > > > Hi, > > > > > > > > > > I'm getting the following message under the Windows download for the > > > > > modeler executable: > > > > > "Java found, but javaw.exe seems to be missing", pressing ok just kills > > > > > the dialog box. > > > > > > > > > > Everywhere I have java running there is a javaw.exe as well; using jdk > > > > > 1.5. I also tried moving the path to my jdk to the start of the path > > > > > list. > > > > > > > > > > I'm happy to run the modeler cross-platform, but any ideas? > > > > > > > > > > Thanks. > > > > > > > > > > -- > > > > > http://www.fastmail.fm - Or how I learned to stop worrying and > > > > > love email again > > > > > > > > > > > > > > > > > > > > > > > -- > > Joshua T. Pyle > > Go has always existed. > > >



    This archive was generated by hypermail 2.0.0 : Sun Dec 18 2005 - 19:30:50 EST