delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/02/14/11:05:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SARE_HEAD_8BIT_SPAM,SARE_SUB_ENC_UTF8
X-Spam-Check-By: sourceware.org
Message-ID: <511D0B23.6030902@cs.umass.edu>
Date: Thu, 14 Feb 2013 11:04:51 -0500
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Reply-To: moss AT cs DOT umass DOT edu
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: Ulrich <Forums AT gombers DOT de>
CC: cygwin <cygwin AT cygwin DOT com>
Subject: Re: After installing =?UTF-8?B?SmF24oCLYSA2LjAuMzkgKDMyYml0KTogRQ==?= =?UTF-8?B?cuKAi3JvciBvcGVuaW5nIHJlIGdpc3RyeeKAiyBrZXkgJ1NvZnR3YXJlXEphdmE=?= =?UTF-8?B?UyDigItvZnRcSmF2YSBSdW50aW1lIEVuduKAi2lyb25tZW50J+KAiw==?=
References: <819003215 DOT 125114 DOT 1360844955688 DOT JavaMail DOT open-xchange AT com4 DOT strato DOT de> <511CE567 DOT 6070107 AT cs DOT umass DOT edu> <370087134 DOT 181112 DOT 1360857332125 DOT JavaMail DOT open-xchange AT com4 DOT strato DOT de>
In-Reply-To: <370087134.181112.1360857332125.JavaMail.open-xchange@com4.strato.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT cs DOT umass DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019