daily pastebin goal
76%
SHARE
TWEET

Untitled

a guest Sep 23rd, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Editez le fichier etc/profile en tapant la commande suivante
  2. vim /etc/profile
  3. Ajoutez les lignes suivantes à la fin du fichier:
  4.  
  5.  
  6. export JAVA_HOME=/opt/jdk1.5.0_21
  7. export PATH=$PATH:$JAVA_HOME/bin
  8. export JAVA=$JAVA_HOME/bin/java
  9.  
  10.  
  11. export PATH  
  12. export JAVA_HOME  
  13. export JDK_HOME  
  14. reboot
  15. ou
  16.  
  17. vim /root/.bashrc
  18. export JAVA_HOME=/opt/jdk1.5.0_21/
  19. export PATH=$PATH:$JAVA_HOME/bin
  20.  
  21. JDK_HOME=/opt/jdk1.5.0_21/
  22. export JDK_HOME
  23.  
  24. export JBOSS_HOME=/opt/jboss/jboss-as
  25. export PATH=$PATH:$JBOSS_HOME/bin
  26.  
  27.  
  28. -
  29.  echo $JAVA_HOME
  30.  
  31.  
  32. reboot
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top