DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It's called a 'symbolic' link, or symlink for short. A symbolic link is also sometimes called a 'soft' link (as opposed to a hard link). see man ln for more details. The basic form is
[HTML]ln -s target alias[/HTML]
more detailed e.g.
[HTML]greg@liberty:~$ which vi
/usr/bin/vi
greg@liberty:~$ file /usr/bin/vi
/usr/bin/vi: symbolic link to `/etc/alternatives/vi'
greg@liberty:~$ ls -al /etc/alternatives/vi
lrwxrwxrwx 1 root root 12 2005-09-14 22:02 /etc/alternatives/vi -> /usr/bin/vim[/HTML]
What that shows is that the 'vi' command is actually linked to 'vim'
kevan@debian:~$ frostwire
Starting FrostWire...
Java exec found in PATH. Verifying...
OOPS, you don't seem to have a valid JRE. FrostWire works best with Sun JRE available at http://www.java.com
ls: /usr/lib/j*: No such file or directory
OOPS, unable to locate java exec in /usr/lib/ hierarchy
You need to upgrade to JRE 1.5.x or newer from http://www.java.com
ls: /usr/java/j*: No such file or directory
OOPS, unable to locate java exec in /usr/java/ hierarchy
You need to upgrade to JRE 1.5.x or newer from http://www.java.com
ls: /opt/j*: No such file or directory
OOPS, unable to locate java exec in /opt/ hierarchy
You need to upgrade to JRE 1.5.x or newer from http://www.java.com
kevan@debian:~$
For some reason, my synaptic does not list J2R like Ubuntu did. I have tried downloading it, but always in vain due to stupid dependencies I couldn't find.
Im having a similar problem in slackware 11.0. I tried symlinking /usr/lib/jre1.5.0_09/bin/java to /usr/java (which is where azureus is looking for it) but azureus gives me the same error:
Code:
Starting Azureus...
Java exec not found in PATH, starting auto-search...
OOPS, unable to locate java exec in /usr/java/ hierarchy
You need to upgrade to JRE 1.4.x or newer from http://java.sun.com
and when I try and cd into /usr/lib/jre1.5.0_09/bin/java or usr/java i get the error
Code:
bash: cd: /usr/java: Too many levels of symbolic links
I went to this site and downloaded the self-extracting file for Linux x86. However, when I try to open it, (ie, clicking on it) it says it doesn't know what to do with it. All the other times I've had something like this, it installs itself on opening.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.