sellinux line command

Paul Howarth paul at city-fan.org
Wed Oct 4 10:19:36 UTC 2006


Fred J. wrote:
> 
> "Fred J." <phddas at yahoo.com> wrote: 
> 
> Paul Howarth <paul at city-fan.org> wrote: Fred J. wrote:
>> Paul Howarth 
>  wrote: On Mon, 2006-10-02 at 00:13 -0700, Fred J. wrote:
>>> Hi
>>> while following the stops to install JRE as per
> ...
> 
> Paul.
> 
> Paul
> thanks  alot
> after going through the link I now have it.
> [fred at localhost i586]$ java -version
> java version "1.5.0_09"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01)
> Java HotSpot(TM) Client VM (build 1.5.0_09-b01, mixed mode, sharing)
> [fred at localhost i586]$ cd /usr/lib/mozilla/plugins/
> [fred at localhost plugins]$ ls
> [fred at localhost plugins]$ ls -a
> .  ..
> [fred at localhost plugins]$ sudo ln -s ../../../lib/jvm/java/jre/plugin/i386/ns7/libjavaplugin_oji.so .
> Password:
> [fred at localhost plugins]$ ls -l
> total 4
> lrwxrwxrwx 1 root root 62 Oct  4 03:46 libjavaplugin_oji.so -> ../../../lib/jvm/java/jre/plugin/i386/ns7/libjavaplugin_oji.so
> 
> however when I restart firefox, and go to a suitable page, it still asks to install a plugin JRE.I found the problem
> [fred at localhost plugins]$ sudo ln -s ../../../lib/jvm/java-1.<tab>
> java-1.4.2-gcj-1.4.2.0/  java-1.5.0-sun-1.5.0.09/ 
> it looks like I have to uninstall the jre 1.4.2 I embarked upon before.

../../../lib/jvm/java should be a symlink to /etc/alternatives/java_sdk, 
which should be a symlink to /usr/lib/jvm/java-1.5.0-sun (set up using 
"alternatives"), which should be a symlink to java-1.5.0-sun-1.5.0.09.

By following all of these symlinks, libjavaplugin_oji.so should point to 
/usr/lib/jvm/java-1.5.0-sun-1.5.0.09/jre/plugin/i386/ns7/libjavaplugin_oji.so.

The java-1.4.2-gcj-1.4.2.0 directory is the gcj-based implementation 
that comes with Fedora. Stanton's instructions have java installed under 
/opt.

Paul.




More information about the fedora-selinux-list mailing list