Java on Mandrake

Marc Lijour marc-bbkyySd1vPWsTnJN9+BGXg at public.gmane.org
Sat Apr 9 18:02:29 UTC 2005


On April 9, 2005 12:51, Michael Yang wrote:
> Hello all,
>
> I have just installed the JRE 1.4 on Mandrake 10.1. The jave directory is
> /usr/java/j2re..., however when I point the path in Opera or other Browser,
> Java applet on the web can not be recognized. I have checked the mandrake
> site and it mentioned a script under /etc/profile.d, however I didn't find
> the scirpt after installation. 'Which java' reported nothing found (under
> 'su'). I appreciate someone point me to the right direction.

It is because you are not supposed to run java as root.
Try which java as a regular user and it will work.

If you absolutely want java as root add this at the end of /root/.bashrc :
PATH=(....don't touch this):/usr/lib64/jdk-1.4.2/bin/java 
I have an AMD64 but put there the output you get from which java done as a 
regular user.

And you should not run a browser, and even less applets, as root.

>
> By the way, any recommendations for a realiable BT Torrent client under
> Linux?
>
> Have a good weekend everyone,
>
> Michael
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list