i installed java SDK and whenever i want to use the java executables such as java, javac i have to type in the whole directory /blah/j2k../bin/java
how do i configure it so that I dont have to type in the whole directory? do i have to install to usr/local?
also sometimes when i try to delete a directory or something it says permission denied and i have to login as root. this is a pain in the ass.. is there any way i can get around this?
TIA
how do i configure it so that I dont have to type in the whole directory? do i have to install to usr/local?
also sometimes when i try to delete a directory or something it says permission denied and i have to login as root. this is a pain in the ass.. is there any way i can get around this?
TIA