[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running Java program



> > on the command line do:
> >
> > which java
> > where java and
> > java -version
> 
> 
> 
> which java tells me that my java is installed in /usr/bin/java while I 
> installed my 1.4.1 JRE in /opt/java.sun.
> And java -version tells me that my version of java is 1.1.8 . Apparently, I 
> have two versions of java installed on this machine. How can I explicitly 
> point bash to use the 1.4.1 one instead of the 1.1.8 one?


I would suggest to use use 'update-alternatives' to point to your local
install (best). Or to put /opt/java.sun in front of your path (if you
don't want all users to use the new java by default).


> 
> > > (PS: Off  topic, but I need limewire because I badly need to download
> > > Harry Potter ;-)
> 
> [lame flame]
>
> > in one word: get a life.
> 
> 
> well, I was talking about the book, not the video. And as it is impossible to 
> find the english version of the book in my country, I have no other choice, 
> but to download the PDF version of the book. I won't ever dare download a 
> vide with my dialup.

sorry for the mistake. shame on me to flame like that.




Reply to: