Again: If you start c:\jdk1.3.1\jre\bin\java.exe, this starts JVM 1.3.1. If you start
c:\JBuilder4\jre\bin\java.exe, this starts JVM 1.3.0. So where is your problem? You do
not need to deal with registry keys. Just start that exe that you want. If you do not
specify path to exe, you need to include that path that you want into PATH environment
variable.
-------- Original Message --------
Subject: Re: Re: Re: Jdk 1.3.1 (25-Sep-2001 14:40)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
> I've discovered how java.exe used registry (using Registry Monitor by
> www.sysinternals.com).
>
> 2.72277901 java.exe:1676 OpenKey HKLM\Software\Microsoft\Windows
> NT\CurrentVersion\Diagnostics NOTFOUND
> 2.72469406 java.exe:1676 OpenKey HKLM\Software\JavaSoft\Java Runtime
> Environment SUCCESS Key: 0xE2479FE0
> 2.72476027 java.exe:1676 QueryValue HKLM\Software\JavaSoft\Java Runtime
> Environment\CurrentVersion SUCCESS "1.3"
> 2.72480972 java.exe:1676 QueryValue HKLM\Software\JavaSoft\Java Runtime
> Environment\CurrentVersion SUCCESS "1.3"
> 2.72485833 java.exe:1676 QueryValue HKLM\Software\JavaSoft\Java Runtime
> Environment\CurrentVersion SUCCESS "1.3"
> 2.72490330 java.exe:1676 QueryValue HKLM\Software\JavaSoft\Java Runtime
> Environment\CurrentVersion SUCCESS "1.3"
> 2.72499214 java.exe:1676 OpenKey HKLM\Software\JavaSoft\Java Runtime
> Environment\1.3 SUCCESS Key: 0xE2660540
> 2.72504830 java.exe:1676 QueryValue HKLM\Software\JavaSoft\Java Runtime
> Environment\1.3\JavaHome SUCCESS "C:\Program
> Files\Borland\JBuilder5\jdk1.3\jre"
> 2.72510026 java.exe:1676 QueryValue HKLM\Software\JavaSoft\Java Runtime
> Environment\1.3\JavaHome SUCCESS "C:\Program
> Files\Borland\JBuilder5\jdk1.3\jre"
> 2.72515138 java.exe:1676 QueryValue HKLM\Software\JavaSoft\Java Runtime
> Environment\1.3\JavaHome SUCCESS "C:\Program
> Files\Borland\JBuilder5\jdk1.3\jre"
> 2.72520111 java.exe:1676 QueryValue HKLM\Software\JavaSoft\Java Runtime
> Environment\1.3\JavaHome SUCCESS "C:\Program
> Files\Borland\JBuilder5\jdk1.3\jre"
> 2.72529665 java.exe:1676 CloseKey HKLM\Software\JavaSoft\Java Runtime
> Environment SUCCESS Key: 0xE2479FE0
> 2.72536258 java.exe:1676 CloseKey HKLM\Software\JavaSoft\Java Runtime
> Environment\1.3 SUCCESS Key: 0xE2660540
>
> First of all it loked for HKLM\Software\JavaSoft\Java Runtime
> Environment\CurrentVersion and then used the same keys in registry. Not
> 1.3.1 keys.
> When I set CurrentVersion in registry 1.3.1 I got
> C:\Program Files\Borland\JBuilder5>java.exe -version
> Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
> has value '1.3.1', but '1.3' is required.
> Error: could not find java.dll
> Error: could not find Java 2 Runtime Environment.
>
> One way to force java.exe to use 1.3.1 installation is edit registry
> (cyhange 1.3.1 keys to 1.3).
> May be there are other ways to do it?
> Thank you.
>
> Sincerely,
> Dmitry Guralnik
>
> EMail: [EMAIL PROTECTED]
>
>
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
[EMAIL PROTECTED]
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".