LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   jdk installation on fedora (https://www.linuxquestions.org/questions/linux-newbie-8/jdk-installation-on-fedora-902642/)

srinivasmmdl 09-12-2011 03:10 PM

jdk installation on fedora
 
I want to install jdk using self-extracted binary file (.bin )

i have changed file permission then

i have run ./<java-version>.bin

what are the next steps to finish the installation process

wpeckham 09-12-2011 03:26 PM

SUN/oracle JAVA
 
Set the JAVA_HOME environment variable to point to the resulting folder.
Add ${JAVA_HOME}/bin to the path of any process that needs to call it.

Nothing else I can think of, but perhaps someone else will have something to add.

knudfl 09-12-2011 03:31 PM

Duplicate of
http://www.linuxquestions.org/questi...fedora-902639/

It's the same pocedure. When you install to /usr/java/ : 1) su
2)
/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.7.0/jre/bin/java 20000

3) /sbin/alternatives --config java

.


All times are GMT -5. The time now is 11:30 PM.