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 : Fri Dec 16 2005 - 17:40:19 EST