This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: After installing Javâa 6.0.39 (32bit): E râror opening re gistryâ key 'Software\Java S âoft\Java Runtime Envâironment'â


On 2/14/2013 10:55 AM, Ulrich wrote:

Here's Ulrich's original message:

After installing Java 6.0.39(32bit) I get the message "Error opening registry
key 'Software\JavaSoft\Java Runtime Environment'".
The key CurrentVersion of the RegistryEntry is "1.7" (which is also installed).
I've installed several Java-Environements to my Windows 7: Java 6.0.39 (32bit
and 64bit) and Java 7.0.13 (64bit).
I'm not aware, how cygwin knows of these installations and how to setup Java. In
my personal '.bashrc' I've exported a JAVA_HOME and a modified
PATH-environment-variable. But I doesn't make any difference.

Eliot Moss <moss@cs.umass.edu> hat am 14. Februar 2013 um 14:23 geschrieben:
Java is not a cygwin application, so I don't understand why you
think cygwin has anything to do with this. Also, AFAIK, cygwin
no longer fiddles with registry keys.

I tried to execute "java -version" as a command at the cygwin-console and it gave me this message. Java under Windows is fine, so this message only occurs under cygwin. It was just a test; I would like to run a java-application from cygwin - and failed.

Ok; you didn't say that before!


My first guess is that it is not finding the same version of Java.
You can discover what bash will run with this command, in bash:
  type java

My second guess is that your cygwin is a limited privilege
environment that is not allowing the registry key to be accessed
for some reason. This goes beyond my knowledge of the details,
but there may be an export on the list with thoughts about it.

Regards -- EM

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]