Question involving bad interpreter Hey gang! When I run ./LimeWireLinux.bin I get bash: ./LimeWireLinux.bin: /bin/sh: bad interpreter: Permission denied I do have java sdk 1.4 installed, I did modify my .bash_profile as well as make the symlink. I ran this as user, as that I have read that running as root won't cut it. Any help would be great! Also: nDiScReEt: Just wanted to say that I'm impressed with your dedication to the community. You'd be a wealty man if you had a buck for everytime you told someone they needed to modify their .bash_profile. I'm glad to see there are intellegent people like you to help out all the linux newbs like me in the world. Thanks, and hats off to you! |
Re: Question involving bad interpreter Quote:
chmod +x LimeWireLinux.bin then run either: ./LimeWireLinux.bin or: sh LimeWireLinux.bin HTH altoine P.S. Thank you for the compliment and yes I should be pretty rich for mentioning .bash_profile and .bashrc so much! :) I just wish that I hadn't been away so long and noticed that the forum list of unanswered questions had built up in my absence. |
I had the same problem. I just now ran the chmod command you listed, and the problem went away. Now, however, I have a new problem: $ ./LimeWireLinux.bin Preparing to install... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program. The error is the same with sh LimeWireLinux.bin. I have successfully installed jre 1.3.1 (OpenOffice recognized it with some browsing). Now, my jre folder is actually in /home/[user]/jre 1.3.1 as that is where the folder installed to (can you tell I am new to Linux!). Help greatly appreciated!!! |
No Problem It means that there is a typo in your JAVA_HOME variable. Your home directory? Could be the cause, also. If you type the command: which java and it doesn't point the exact path of the java package that you want to use then we found your problem. Since you already opened your tarball (I assume), let us move it to a more suitable locale by becoming root su root Create a java directory: mkdir /usr/java Next type this command from your /home/(user) direcotry. (ie /home/ndiscreet): mv j2* /usr/java/ That should move your java to a standard and more appropriate location. Plugin your java plugins to mozilla: But first find where your mozilla is located: whereis -b mozilla In my case, /usr/lib/mozilla because that command had actually spouted /usr/lib/mozilla/mozilla. Now create your symlink from your java package to your mozilla direcotry: ln -s /usr/java/j2re1.3.1/jre/plugin/i386/ns610/libjavaplugins_oji140.so /usr/lib/mozilla/plugins/ In my case the symlink is: ln -s /usr/java/j2re1.3.1/jre/plugin/i386/ns610/libjavaplugins_oji140.so /usr/lib/mozilla-1.0.0/plugins/ or where ever mozilla is installed on your system. Rerun OpenOffice to point to the right place but it wouldn't really be necessary if you created the proper PATH in your .bashrc or .bash_profile file which are located in your home user direcotry (ie /home/ndiscreet/.bash_profile) Notice the "." dot before .bash_profile or .bashrc as this is unix attrib for a hidden file. To see all files including hidden files, type this command: ls -a Continuiing with the instructions. Type this command into your .bash_profile: export JAVA_HOME=/usr/java/j2re1.4.0_01 export PATH=$JAVA_HOME/bin:$PATH In your case, probably: export JAVA_HOME=/usr/java/j2re1.3.1 export PATH=$JAVA_HOME/bin:$PATH Are you using blackdown or another java package? This is important as blackbdown will have to be treated differently as it has special instructions.If it is blackdown, you will have to create a symlink from your java directory to /usr/bin. ln -s /usr/java/jre1.3.1/bin/.java_wrapper /usr/bin/ Note, that is only for blackdown java packages. All other java packages (ie IBM, Sun, and such) can skip this step. Type this coomand. exit To exit su as root. Now run the "which" java test, again: which java If it still says another installer or none for that matter, try this command (Be in your home directory, of course}: source .bash_profile NOw rerun the "which" java test one mroe time: which java Now you should be able to use the installer. altoine |
All times are GMT -7. The time now is 01:58 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.