Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
im trying to install a .bin file that i downloaded to my home folder and i try to switch user to root and when it asks me for my password in the terminal and it wont let me type my password. Anyone have any idea???
Most likely whatever you type just doesn't get echoed on the screen. The text is there, but for security reasons it's not shown (someone could be peeking ower your shoulder or something). Just type your password normally and hit enter
ok that worked but heres another question i tried running a program that requires java and i got this
[nathan@localhost nathan]$ frostwire
Starting FrostWire...
Java exec not found in PATH, starting auto-search...
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.4.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.4.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.4.x or newer from http://www.java.com
[nathan@localhost nathan]$
Running the jre-1_5_0_06-linux-i586.bin just extracts the Java SDK and modifies /etc/mailcap. For other applications (like frostwire) to find the Java executable, you should make a couple of changes to your setup.
If you extracted jre-1_5_0_06-linux-i586.bin in /usr/local:
- Add /usr/local/jdk1.5.0_06/bin to your path;
- Create the JAVA_HOME environment variable as /usr/local/jdk1.5.0_06
Both of these can be done in .bash_profile in your home directory if you are the only user, or in /etc/profile if there are several users on the box. The lines to add are:
Setting the 2 environment variables just allows Java to be found by frostwire. Can you try typing the following at the command prompt and post back any errors that it produces please?
[nathan@localhost nathan]$ export JAVA_HOME="/usr/local/jdk1.5.0_06"
[nathan@localhost nathan]$ export PATH="${JAVA_HOME}/bin:$PATH"
[nathan@localhost nathan]$ frostwire
Starting FrostWire...
Java exec not found in PATH, starting auto-search...
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.4.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.4.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.4.x or newer from http://www.java.com
[nathan@localhost nathan]$
First of all, you don't seem to have jdk, but jre (judging from the name of .bin package), so the JAVA_HOME should be /usr/local/jre1.5.0_06 or /usr/local/java/jre1.5.0_06, provided that jre really is installed under /usr/local hierarchy (which I think is the case since FrostWire seems to check every other possible location). Other potential locations are: /usr/java/jre1.5.0_06, /usr/lib/jre1.5.0_06 and /opt/jre1.5.0_06, but if java would have been there, FrostWire would have been able to find it.
To check, be root and do:
updatedb
it takes a while to run and after that:
slocate jre
that will tell you where it is.
Secondly you could make a symlink for FrostWire to be able to locate your java installation correctly:
ln -s [whereverjavais]/jre1.5.0_06 /usr/lib
This however shouldn't be necessary if you have JAVA_HOME and PATH variables set correctly. When setting variables there is no immediate output, so when you do:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.