Skip to main content

Posts

Showing posts from September 9, 2012

install JDK linux

1. download file .sh dari situsnya oracle 2. beri akses executable dengan peritah chmod +x 3. extract ./ 4. Set JAVA_HOME / PATH for all user You need to setup global config in /etc/profile OR /etc/bash.bashrc file for all users: # vi /etc/profile Next setup PATH / JAVA_PATH variables as follows: export PATH=$PATH:/usr/java/jdk1.5.0_07/bin export PATH=$PATH:/usr/java/jdk1.5.0_07/bin Save and close the file. Once again you need to type the following command to activate the path settings immediately: # source /etc/profile