Re: Java permissions for multiple users?
From: Ian Gil (i_at_NOSPAMALLOWED.com)
Date: 10/04/03
- Next message: Michael Heiming: "Re: Boot Manager Recommendations"
- Previous message: Norman Zhang: "Upgrading"
- In reply to: paroikos: "Re: Java permissions for multiple users?"
- Next in thread: Ian Gil: "Re: Java permissions for multiple users?"
- Reply: Ian Gil: "Re: Java permissions for multiple users?"
- Reply: Sayantan Sur: "Re: Java permissions for multiple users?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 04 Oct 2003 05:44:37 GMT
>> As root I've installed java at /usr/local/j2re1.4.2_01 but have run into a snag
>> in that it will only run if I chown -R user.user j2re1.4.2_01 where user is the
>> user who will use java, and any other user will not be able to use it
>> successfully as the browser will crash upon encountering a java web page. This
>> is odd because about:plugins shows everything ok until a java page is
>> encountered, then boom! down browser and all. I'm running mozilla and have a
>> link from
>> /usr/lib/mozilla/plugins/libjavaplugin_oji.so
>> to
>> /usr/local/j2re1.4.2_01/plugin/i386/ns610/libjavaplugin_oji.so
>>
>> I'd like to avoid having to install java in every user's home directory if
>> possible.
>>
>> Ian
>
> Ian, who owns the file and the link? Mine is 1000 (not a user)
> and root.
A regular user owns them both since I had to do
chown -R <regular user>.<regular user> j2re1.4.2_01
to get that to work only for the specified regular user.
root.staff owned it originally.
> Also, do you have each user's path modified to include
> /usr/java/j2re1.4.2_01/ ?
I don't have a /usr/java I have
/usr/lib/mozilla/plugins/libjavaplugin_oji.so
linked to
/usr/local/j2re1.4.2_01/plugin/i386/ns610/libjavaplugin_oji.so
> With these specifications, multiple
> users make use of the system java2 runtime.
I'll try the /usr/java location with the default root.staff ownership,
if this is what's working for you and the correct installation
location/ownership. I installed this from the run time binary at sun.com
but where's the documentation for this? Sun's site just tells you
to decompress their java binary at the "location where you would like the
files to be installed" which leaves thing pretty open.
Thanks,
Ian
- Next message: Michael Heiming: "Re: Boot Manager Recommendations"
- Previous message: Norman Zhang: "Upgrading"
- In reply to: paroikos: "Re: Java permissions for multiple users?"
- Next in thread: Ian Gil: "Re: Java permissions for multiple users?"
- Reply: Ian Gil: "Re: Java permissions for multiple users?"
- Reply: Sayantan Sur: "Re: Java permissions for multiple users?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|