LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install java into mandriva 2006 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-java-into-mandriva-2006-a-559664/)

endone17 06-06-2007 12:51 PM

How to install java into mandriva 2006
 
I am using mandriva 2006, but i dont know how to install into my mozilla firefox, java. ANy1 can help me with this. thank you,i need very good explenation, because as u guys can tell I am newbie and its only my third day of using linux.
--mike

{BBI}Nexus{BBI} 06-06-2007 03:04 PM

Quote:

Originally Posted by endone17
I am using mandriva 2006, but i dont know how to install into my mozilla firefox, java. ANy1 can help me with this. thank you,i need very good explenation, because as u guys can tell I am newbie and its only my third day of using linux.
--mike

Have you already installed java? If not: http://www.java.com/en/download/help/5000010500.xml#rpm will take you through download and installation. Download the Linux RPM.

If you have already installed java, it's very likely that you need to add it to your path.

First startup your konsole, then type the following exactly as seen:

export JAVA_HOME=/usr/java/jre1.6.0_01 <-- (change this if your version is different) (press enter)
export PATH=$PATH:/usr/java/jre1.6.0_01/bin (press enter)
export MANPATH=$MANPATH:/usr/java/jre1.6.0_01/man (press enter)

Type exit to close your konsole.


All times are GMT -5. The time now is 10:16 AM.