tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Lucia" <timlu...@yahoo.com>
Subject RE: RE: JAVA_HOME / JRE_HOME still necessary?
Date Wed, 10 May 2006 13:03:05 GMT
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:g.briotti@mclink.it] 
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
g.briotti@mclink.it

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





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message