ls flashing red

Can someone please tell me what the flashing red means?

It means that the file the link points to does not exist. ls -L it.

Yep your right :).

ls -L
ls: cannot access libnpjp2.so: No such file or directory

Hi COKEDUDE, you are trying to link a file with a * in the path, this is not possible with a link.

Good catch! I missed that.

This puts a different complexion on your other thread, COKEDUDE.

This is what I tried to do. I didn't know what version of jre I had so I tried to use wildcards.

cd /usr/lib/mozilla/plugins
ln -s /usr/java/jre*/lib/i386/libnpjp2.so

wildcards don't work inside a link.

wildcards don't work in anything but a shell.

The directory exists though. What can I do if I need wildcards?

$ ls -l /usr/java/
total 4
lrwxrwxrwx. 1 root root   16 Sep 26 05:02 default -> /usr/java/latest
drwxr-xr-x. 7 root root 4096 Sep 26 05:02 jre1.6.0_27
lrwxrwxrwx. 1 root root   21 Sep 26 05:02 latest -> /usr/java/jre1.6.0_27

It does not. There is no directory named "/usr/java/jre*" there.

Your listing shows two symlinks in the problem dir, 'default' and 'latest', which point to the place you need. Why not use /usr/java/default/ ?

How would I do that?

Just use it. Imagine the actual folder is named /usr/java/default instead of /usr/java/jre1.6.0_27. That's what it acts like. 'default' ought to be updated whenever you install a new JRE, and if it isn't, is easy to fix.