Unfortunately this is not true at all.  Just because Oracle, like Microsoft,
believes they are the only one out there, does not mean that multiple java
installations cannot coexist peacefully.  Only the first one on the path is
active if you say

java ...

without an explicit path.  By using this logic, I could hack your system
such that java.exe is a virus, or spyware, or anything (send me all your
passwords, just before exec'ing the real java.)

Tomcat avoids this problem by explicitly invoking $JRE_HOME/bin/java (on
linux) and the service control module (tomcat5w) uses the
explicitly-specified jvm path (on windows).

Most *nix systems have a symlink for 'java' which is in the path.  Then you
can change the default by changing the symlink.

Tim


-----Original Message-----
From: Giuseppe Briotti [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 10, 2006 7:56 AM
To: Tomcat Users List
Subject: Re: RE: JAVA_HOME / JRE_HOME still necessary?


> What about multiple JREs or JDKs on your system?  Unlike Microsoft 
> products, you can actually have multiple versions of Java on your 
> system coexisting peacefully.

Unfortunately, this is not really true... because the first entry in path is
the really one active. I had orrible experience with Oracle, that install an
old jre for its applet, and, of course, as first entry in path.

G.


--

Giuseppe Briotti
[EMAIL PROTECTED]

"Alme Sol, curru nitido diem qui
promis et celas aliusque et idem
nasceris, possis nihil urbe Roma
visere maius."
                        (Orazio)





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to