View Single Post
Old 16th November 2004, 05:30 AM
crackers Offline
Retired Community Manager
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 60
Posts: 3,423
Nope, no idea. I think in my case, I had gcj installed because I thought I was going to mess around with it at one point then forgot I had it. I specifically got rid of it (or didn't install dev tools - don't remember which) on the wife's fresh install, so (of course), didn't have the alternatives problem.

However, I did spend a couple of hours messing around last night and I've now got a script that will install Java into alternatives. I've run this against both 1.4.2_04 and 5.0 (tarball installs) and I can get rid of my hacked-up /etc/profile 'fix."

The script is attached, if anyone is curious (extension changed from .sh to .txt for upload). It's not well written, nor is it well-commented, so you're on your own...
Attached Files
File Type: txt setjavaalt.txt (696 Bytes, 577 views)
Linux User #28251 (April '93)
Professional Java Geek :cool:
Reply With Quote