[blfs-support] Trouble with OpenJDK- Installation

Fernando de Oliveira famobr at yahoo.com.br
Tue Dec 3 06:35:02 PST 2013

Em 03-12-2013 10:55, Fernando de Oliveira escreveu:
> Em 03-12-2013 10:01, Alan Feuerbacher escreveu:
>> mkdir /opt/jdk
> This is not necessary.
>> ln -v -nsf OpenJDK- /opt/jdk
> Without that unnecessary command above, you would have, after this one
> (symlink displayed in blue):
> $ls -l /opt/jdk
> lrwxrwxrwx [some info] /opt/jdk -> OpenJDK-
>> This created a link in /opt/jdk: "OpenJDK- -> OpenJDK-" 
>> which I don't understand.
> I think it is displayed red in black, which means it is wrong.
>> What's going wrong?
> The directory you created, which is not in the book's instructions.

I thought a little more, and it seems that your doubt is "if I create a
symlink, I cannot change (cd) into it".

A symlink to a directory behaves in most manners like a directory, so,
you can cd into it. One way it is different is that to remove it, you do
not need the switch r, in rm.


More information about the blfs-support mailing list