Sun's JVM installs that exes into system32 since they want to override Microsoft's 
ones and so to have their own exes started when no path is specified. If you deal with 
more than one VM on the same system, it's more defensive to not touch the 
installations at any point but to directly refer to the correct path when starting a 
JVM. This means, do neither tough registry nor to move files, but to only fully 
reference that JVM that you want. It's quite common to have an environment variable 
called JAVA_HOME pointing to the currently used VM and to do something like 
%JAVA_HOME%\bin\java.exe instead of just java.exe to have that VM loaded that is 
onted; you can easily switch the used VM by changing JAVA_HOME. If you are using 
JBuilder, just add all your VMs to his list of SDKs, so you can use all of them by 
easy selection from inside JBuilder.

Back to JOnAS. Since you need to start JOnAS by a call to EJBServer, why not just 
adding the path to jdk1.3.1\jre\bin to your EJBServer.bat, so that JOnAS starts with 
that VM? I do not understand why you spent the whole day fiddeling around with 
perfectly installed VMs just to have JOnAS started with 1.3.1 when all you need is to 
add that path to the java.exe call? I do really not see your problem, can you please 
tell me so I'll try to help you.

-------- Original Message --------
Subject: Re: Jdk 1.3.1 (25-Sep-2001 15:44)
From:    [EMAIL PROTECTED]
To:      [EMAIL PROTECTED]

> I've found java.exe and javaw.exe (from java 1.3.1) in winnt\system32
> folder. So when I run java (without specifying path) java run from
> winnt\system32 . It couldn't find dll's from jre folder and looked for
> pathes in registry using CurrentVersion value = 1.3. That's why I got java
> 1.3. When I moved these exe's ftom system32 all began working when I run
> java.exe without specifying path.
> 
> Thnk you.
> 
> Sincerely,
> Dmitry Guralnik
> 
> EMail:   [EMAIL PROTECTED]
> 
> 
> To: [EMAIL PROTECTED]


To: [EMAIL PROTECTED]
Cc: [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".

Reply via email to