Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Technical Support > General Linux Support
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Linux Support For questions regarding use of LimeWire or WireShare or related questions on the Linux operating system. This includes installation questions and answers. (Check the Stickies marked in Red at top of this section.)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old June 27th, 2002
Novicius
 
Join Date: June 27th, 2002
Posts: 1
GruveMonkey is flying high
Question 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!
Reply With Quote
  #2 (permalink)  
Old July 1st, 2002
nDiScReEt's Avatar
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default Re: Question involving bad interpreter

Quote:
Originally posted by GruveMonkey
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!
Hopefully this problem can be fixed by simply changing the file attributes of LimeWireLinux.bin like so:

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.
Reply With Quote
  #3 (permalink)  
Old July 18th, 2002
Emiricol
Guest
 
Posts: n/a
Default

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!!!
Reply With Quote
  #4 (permalink)  
Old July 27th, 2002
nDiScReEt's Avatar
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default 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

Last edited by nDiScReEt; July 27th, 2002 at 04:40 AM.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't use blitzi or anything else involving IE? evilmnkyinmypnts General Windows Support 3 April 13th, 2006 04:26 PM
i have a question JJMEX- Open Discussion topics 1 December 24th, 2005 05:30 PM
question tinchers3 Chat - Open Topics - The Lounge 2 September 14th, 2005 06:58 PM
May sound like a dumb question....But.... (LW Basic to Pro changeover question) TracyBee Windows 2 June 15th, 2005 12:24 PM
question Unregistered General Mac OSX Support 1 November 1st, 2002 10:52 AM


All times are GMT -7. The time now is 01:15 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.