I downloaded the jdk-7u67-linux-x64.tar.gz file from the Oracle website, unzipped it and also created a symbolic link just like one of the tutorial said. (I'm very new to these things, so I have no idea what a symbolic link means so please explain it.) Right now, whenever I type Java, it says /usr/bin/java is a directory. I can't find any answer to this problem. Thanks in advance.
You probably created a symbolic link to the directory instead of to the actual java binary. You need to give ln -sh $extracted_path/bin/java where $extracted_path needs to be replaced with the real base direcory where you extracted the package.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With