Re: path problem: Windows can't find compiler or java..
maya wrote:
hmmmmm... I swear I'm stumped here.. over the last four years or so I
have installed java sdk in more than one machine, both at home and work,
I have never had this problem..
Perhaps there is a FUBARed registry entry causing your
Error: could not open
`C:\Program Files\Java\jre1.5.0_12\lib\i386\jvm.cfg'
I find it significant that this is not a JDK but a regular JRE path. A JDK
path would have "jdkblahblah/jre" instead of "jreblahblah".
Is there a JRE separate from the JDK listed in your Control Panel "Add/Remove
Software" list?
Since Java version 1.5.0_12 has a major security flaw, I suggest you install
JDK 1.5.0_13, completely uninstall 1.5.0_12, and see if that doesn't erase
your difficulty.
If your Windows registry is out of whack, you're due for interesting times.
I've had luck from time to time using regedit to search for such anomalous
entries as might be in play here. Freeware products like Spybot Search &
Destroy, free of charge from
<http://www.safer-networking.org/> (beware of imitations)
and their RegAlyzer product help with this, as does AdAware
<http://www.lavasoft.com/>
who have a free version in addition to the for-pay versions.
Make sure you set a registry savepoint before treading on such dangerous ground.
--
Lew