Symbolic link (aka symlink or shortcut in windoze)
ln -s /usr/java/jdk1.5.0_09/bin/java /usr/local/bin/java
ln -s /usr/java/jdk1.5.0_09/bin/javac /usr/local/bin/javac
ln -s /usr/java/jdk1.5.0_09/bin/javadoc /usr/local/bin/javadoc
Monday, October 02, 2006
linux: How to find where a program is located
To find where firefox is installed, type:
which firefox
To find where java is installed, type:
which java
which firefox
To find where java is installed, type:
which java
java/linux: Installing JDK/JavaSE
From command prompt, su as root.
create dir /usr/java
place jdk-1_5_0_09-linux-i586.bin in /usr/java
chmod 777 jdk-1_5_0_09-linux-i586.bi
From /usr/java type
./jdk-1_5_0_09-linux-i586.bin
JDK is now installed in /usr/java/jdk1.5.0_09
create dir /usr/java
place jdk-1_5_0_09-linux-i586.bin in /usr/java
chmod 777 jdk-1_5_0_09-linux-i586.bi
From /usr/java type
./jdk-1_5_0_09-linux-i586.bin
JDK is now installed in /usr/java/jdk1.5.0_09
linux: How to uninstall a (non-rpm) program
User brute force uninstall :
rm -rf /thedirwhereyourprogramresides
rm -rf /thedirwhereyourprogramresides
Subscribe to:
Posts (Atom)