Thereidos wrote: > Dnia pon 19. lipca 2004 22:33, Marco Verheul napisa?: >> Hi all, >> >> I'm looking for clues on how to set up Java (runtime environment) on my >> mdk 10.0 box in such a way that: >> >> 1. multiple applications can use it (Opera / BitTorrent client...) >> >> 2. I know where to find it, in other words, where/how to install it >> >> Cheers, Marco > > I've done it this way: > Downloaded J2RE from their site (Sun's ?) in a rpm package.. installed it > and added to $PATH variable in ~/.bash_profile line : > > /usr/java/j2re1.4.2_04/bin > > Now It looks like this : > > PATH=$PATH:$HOME/bin:/usr/java/j2re1.4.2_04/bin > export PATH > > You'll have to logout and login to your user account to make it work, or > after adding the above to ~/.bash_profile you can type : > > export PATH=$PATH::/usr/java/j2re1.4.2_04/bin > > You'll have to add same path to $PATH variable for each user account... > Of course in Opera you'll need to type Java path in Preferences --> > Multimedia. It's something like this : > > /usr/java/j2re1.4.2_04/lib/i386 > > Make sure to validate java path.
I add /usr/java/j2re1.4.2_04/bin to ~/.bashrc Then in shell type: source ~/.bashrc Now all changes to bashrc are available in the user environment. -- John Zoetebier
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________