I have downloaded and installed JDK 1.5.0_11 by downloading and running it from SUN's site. No needs for any HOWTOs, except for how to create a link to mozilla/plugins available on SUN's site, so as to use the jre from firefox.
Ioannis Vranos wrote:
I have downloaded and installed JDK 1.5.0_11 by downloading and running it from SUN's site. No needs for any HOWTOs, except for how to create a link to mozilla/plugins available on SUN's site, so as to use the jre from firefox.
Is the java/javac etc. in your PATH really the one you want? Or do you care about that?
On 4/20/07, Ioannis Vranos ivranos@freemail.gr wrote:
I have downloaded and installed JDK 1.5.0_11 by downloading and running it from SUN's site. No needs for any HOWTOs, except for how to create a link to mozilla/plugins available on SUN's site, so as to use the jre from firefox.
The problem with doing it the way you did is, you forgot you were using an RPM-based distribution. Now rpm doesn't know about your java. And when your java needs to be updated to patch something, rpm won't be there for you.
Don't get me wrong, I've done it the lazy way too. But it's not the Right Way.
On 4/20/07, Francois Caen frcaen@gmail.com wrote:
On 4/20/07, Ioannis Vranos ivranos@freemail.gr wrote:
I have downloaded and installed JDK 1.5.0_11 by downloading and running it from SUN's site. No needs for any HOWTOs, except for how to create a link to mozilla/plugins available on SUN's site, so as to use the jre from firefox.
The problem with doing it the way you did is, you forgot you were using an RPM-based distribution. Now rpm doesn't know about your java. And when your java needs to be updated to patch something, rpm won't be there for you.
Don't get me wrong, I've done it the lazy way too. But it's not the Right Way.
-- Francois Caen, RHCE, CCNA SpiderMaker, LLC
There's no right way yet. Maybe they're coming with the right way with OpenJDK or other project.
Anyway, for the sake of simplicity, Sun provides RPMs, which may be enough if you don't need packages from JPackage.
Francois Caen wrote:
On 4/20/07, Ioannis Vranos ivranos@freemail.gr wrote:
I have downloaded and installed JDK 1.5.0_11 by downloading and running it from SUN's site. No needs for any HOWTOs, except for how to create a link to mozilla/plugins available on SUN's site, so as to use the jre from firefox.
The problem with doing it the way you did is, you forgot you were using an RPM-based distribution. Now rpm doesn't know about your java. And when your java needs to be updated to patch something, rpm won't be there for you.
Don't get me wrong, I've done it the lazy way too. But it's not the Right Way.
Actually I installed the JDK RPM, however it is not the default Java on the system... I have to use it explicitly when running java apps (like Azureus). I tried to remove gcj and its "mess" via yumex, however due to dependencies, openoffice.org and stuff get to be uninstalled too. Why do such dependencies to gcj, like OO.Org exist? Has anyone managed to get gcj, JPackage and stuff uninstalled?
On Fri, 20 Apr 2007, Ioannis Vranos wrote:
I have downloaded and installed JDK 1.5.0_11 by downloading and running it from SUN's site. No needs for any HOWTOs, except for how to create a link to mozilla/plugins available on SUN's site, so as to use the jre from firefox.
We document the approach we use on CentOS at: http://www.trading-shim.org/faq/?java#web
-- Russ Herrold
On Fri, 20 Apr 2007, Ioannis Vranos wrote:
I have downloaded and installed JDK 1.5.0_11 by downloading and running it from SUN's site. No needs for any HOWTOs, except for how to create a link to mozilla/plugins available on SUN's site, so as to use the jre from firefox.
We document the approach we use on CentOS at: http://www.trading-shim.org/faq/?java#web
Any for tomcat?
CentOS List wrote:
On Fri, 20 Apr 2007, Ioannis Vranos wrote:
I have downloaded and installed JDK 1.5.0_11 by downloading and running it from SUN's site. No needs for any HOWTOs, except for how to create a link to mozilla/plugins available on SUN's site, so as to use the jre from firefox.
We document the approach we use on CentOS at: http://www.trading-shim.org/faq/?java#web
Any for tomcat?
On Centos 5, yum offers to install tomcat5 and it's webapps. I'm not sure how you make them work with sun java...
R P Herrold wrote:
We document the approach we use on CentOS at: http://www.trading-shim.org/faq/?java#web
That was a great link, it helped me make the JDK as the default! Thanks a lot R.
On Sat, 21 Apr 2007, Ioannis Vranos wrote:
R P Herrold wrote:
We document the approach we use on CentOS at: http://www.trading-shim.org/faq/?java#web
That was a great link, it helped me make the JDK as the default! Thanks a lot
No problem -- I see a later question on the mailing list as well, asking for similar writups for tomcat, and one assumes eclipse and friends; I am very conflicted here as to releasing the approaches I use, as they are NOT AT ALL well integrated to the packaging tool, and I can see no _simple_ method for knowing and controlling defined versions of .jar files in play.
This seems to be a conscious choice by the Java community, along with bloat and carrying around local versions to get around API change issues, but I cannot see how to document such and provide a reasonable approach for security and license and version audit.
I do not understand how very large deployments, with Change Control requirements, can solve this issue, other than in a binary blob deployment manner. Not very 'source available' and Free. ;(
Perhaps with the release of centos-5, the upstream shift of focus to Java packaging issues, and the wider availability of Java to the Free, and non-Enterprise sides of Linux, this space will start to settle down
-- Russ Herrold