Posted By

nialace on 07/18/11


Tagged

java linux


Versions (?)

Install Java on Linux


 / Published in: Bash
 

URL: http://www.mkyong.com/java/how-to-install-java-jdk-on-fedora-core-linux/

installer java à partir du binaire téléchargé sur le site d'oracle puis

  1. #Create symbol links to make it execute anywhere
  2. ln -s /usr/java/jdk1.6.0/bin/java /usr/bin/java
  3. ln -s /usr/java/jdk1.6.0/bin/javac /usr/bin/javac
  4.  
  5. #set JAVA_HOME
  6. echo 'export JAVA_HOME="/usr/java/jdk1.6.0"' >> /etc/profile

Report this snippet  

You need to login to post a comment.