[blfs-support] Trouble with OpenJDK-1.7.0.45/IcedTea-2.4.3 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-1.7.0.45 /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-1.7.0.45
> 
>> This created a link in /opt/jdk: "OpenJDK-1.7.0.45 -> OpenJDK-1.7.0.45" 
>> 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.

-- 
[]s,
Fernando



More information about the blfs-support mailing list