LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-01-2001, 08:52 AM   #1
WindozBytes
Member
 
Registered: Aug 2001
Location: CT, USA
Distribution: Mandriva 2008
Posts: 105

Rep: Reputation: 15
limewire installation


Per the instructions on limewire.org, I:

-installed the JRE (j2re1.4.0) to /usr/local
-set the PATH/JAVA_HOME

env command reflects correct entries for the "PATH=" and "JAVA_HOME=" parameters; "java" issued at CLI returns expected messages from JRE, so I believe the JRE is correctly installed.

-installed jakarta-ant to /usr/local
-installed limewire to /usr/local

According to the README.txt file included with limewire, "... the ./compile command for Unix/Linux should compile the code." However, issuing the ./compile command as root results in this error:

bash: ./compile: bad interpreter: Permission denied

issuing the command sh ./compile returns:

: command not found
: command not found
: not a valid identifierPATH
: command not found
: command not found


the compile shell script contains:

#!/bin/sh
# NOTE: If you are using cygwin on Windows, the colons below
# should be semi-colons
# Also, if you are using a local core project, replace
# lib/core.jar with ../core
CLASSPATH=".:lib/collections.jar:lib/core.jar:lib/xerces.jar:lib/jl011.jar"
export CLASSPATH

ant


If I try to skip ahead and execute RunLime.java, I get the following message:

Exception in thread "main" java.lang.NoClassDefFoundError: RunLime/java

I presume that this message tells me that I have not yet compiled the RunLime class, so my question then is what am I missing to get the code compiled?

TIA,
-wb

Last edited by WindozBytes; 12-01-2001 at 08:55 AM.
 
Old 02-04-2002, 02:32 PM   #2
OmegaNine
LQ Newbie
 
Registered: Feb 2002
Location: BFE, USA
Distribution: Fedora C2 & Slackware 9.1
Posts: 2

Rep: Reputation: 0
Lightbulb Maybe try this.

Log in as root to do it, or type "su" and enter your root passwd and try it that way. All I can think of.

-OmegaNine
 
Old 02-04-2002, 03:11 PM   #3
ryanstrayer
Member
 
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250

Rep: Reputation: 30
I have LimeWire installed, and have installed in on several systems... first off, I'm not sure why you are trying to run the "compile" command... there is nothing to compile. LimeWire is distributed fully compiled, and is installed through an X installer program, fully compiled (since it is copyright).

If your JRE is installed an working (by being able to type 'java' anywhere from the command prompt), you should be able to execute LimeWire.

There is also nothing to run a "compile" on in JRE... unless they are now distributing it in source.. in which case you wouldn't type "compile" anyway. You should have downloaded JRE with the filename of:

jre-1.3.1_02.i386.rpm

from Sun's web site. Once you install this RPM, follow the instructions regarding setting your environment variables. You must also read the release notes for JRE 1.3.1 regarding "font-properties" .. as there is a bug in the font-properties files, and you'll get errors related to this (even though it doesn't hurt anything).
 
Old 02-04-2002, 05:05 PM   #4
WindozBytes
Member
 
Registered: Aug 2001
Location: CT, USA
Distribution: Mandriva 2008
Posts: 105

Original Poster
Rep: Reputation: 15
resolution

Thanks for responding.

ryanstrayer:

When I first tried to install LimeWire, it did indeed need to be compiled. (Not the JRE, but LimeWire.) If you look closely at my original post, you'll see that I mention LimeWire.org. The version distributed there doesn't come with the really slick installer. Getting JRE (1.4) installed was never a problem, and now that I've discovered LimeWire.com, I have limewire working correctly. (I never closed out the original thread because it was pretty old by that time.)

I had seen the fonts bug that you refer to mentioned in some other posts, but I'm not sure what the issue is; I don't get any errors. Perhaps the current version of LimeWire (2.1.3) combined with the 1.4 version of JRE has corrected this problem.
 
Old 03-06-2002, 01:03 PM   #5
SlavaVB
LQ Newbie
 
Registered: Aug 2001
Location: New York
Distribution: Win2k
Posts: 17

Rep: Reputation: 0
Ok i just got j2re-1_4_0-linux-i386-rpm.bin installed. I should set the path for it though, first problem is that i dont know wheree it was isntalled to and what path to set even if i know, second of all, if i set the path variable, will it be saved permanantly or will i have to add it to some startup script?


Last edited by SlavaVB; 03-06-2002 at 01:19 PM.
 
Old 03-06-2002, 01:31 PM   #6
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
You need to add the path to the /etc/profile file, add it to the end of the file. It asked you where you wanted it to be installed in the setup program. (of limeWire)

The path for the runtime environment should be:

/usr/local/java/jre1.31/bin


make sure you set the path to the /bin
 
Old 03-06-2002, 02:32 PM   #7
SlavaVB
LQ Newbie
 
Registered: Aug 2001
Location: New York
Distribution: Win2k
Posts: 17

Rep: Reputation: 0
i dont have a java folder in /usr/local
 
Old 03-06-2002, 06:42 PM   #8
WindozBytes
Member
 
Registered: Aug 2001
Location: CT, USA
Distribution: Mandriva 2008
Posts: 105

Original Poster
Rep: Reputation: 15
SlavaVB:

The default installation path for j2re-1_4_0-linux-i386-rpm is /usr/java/j2re1.4.0.
After installation, I added a couple of lines to my .bash_profile.

export JAVA_HOME=/usr/java/j2re1.4.0
export PATH=$JAVA_HOME/bin:$PATH

Good luck.
 
Old 03-06-2002, 06:54 PM   #9
SlavaVB
LQ Newbie
 
Registered: Aug 2001
Location: New York
Distribution: Win2k
Posts: 17

Rep: Reputation: 0
Cool! thanks, i found the folder...Im just not exactly sure where to add those lines to. I dont know where that bash file is.

By the way, how do i make a link in the KDE programs menu to LimeWire?

Last edited by SlavaVB; 03-06-2002 at 07:29 PM.
 
Old 03-06-2002, 07:05 PM   #10
WindozBytes
Member
 
Registered: Aug 2001
Location: CT, USA
Distribution: Mandriva 2008
Posts: 105

Original Poster
Rep: Reputation: 15
The .bash_profile is located in your ~/ directory, your 'home' directory.
Note that the file begins with a period; it will not show up if you execute ls,
rather use ls -a to list normally-hidden files.

The .bash_profile that I mention may even be specific to RH,
but here's the entire contents of mine:


# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export JAVA_HOME=/usr/java/j2re1.4.0
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:~/JavaClasses

export PATH
unset USERNAME
 
Old 03-06-2002, 07:37 PM   #11
SlavaVB
LQ Newbie
 
Registered: Aug 2001
Location: New York
Distribution: Win2k
Posts: 17

Rep: Reputation: 0
I found the file but no editor in KDE can see the file. Also how can i add a "shortcut" to limewire in the KDE programs menu?

Thanks alot, Im sorry to keep bothering you but im new to all of this.
 
Old 03-06-2002, 09:11 PM   #12
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
If you wanna start KDE Advanced Editor to edit a file just do this:

/usr/kde/2/bin/kwrite <filename you wish to open>

Of course, your distribution may have the binary executable file in a different location. It may also be in /usr/local/bin so all you have to type is "kwrite".
 
Old 03-07-2002, 12:33 AM   #13
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
create a file and put it somewhere like /usr/local/bin/limewire

here is the contents of the limewire file

#!/bin/sh
#
cd /usr/local/LimeWire

./runLime.sh &


after creating the file run this

chmod 755 /usr/local/bin/limewire

Now you can create shortcuts or menu entries and point them to /usr/local/bin/limewire



you need to learn to use vi



Last edited by DavidPhillips; 03-07-2002 at 12:34 AM.
 
Old 03-07-2002, 04:32 AM   #14
WindozBytes
Member
 
Registered: Aug 2001
Location: CT, USA
Distribution: Mandriva 2008
Posts: 105

Original Poster
Rep: Reputation: 15
The only thing that I would add to the responses thus far is that IMHO, VI is archaic; there are other editors that are much handier to use. My personal preference is emacs.
 
Old 03-07-2002, 07:55 AM   #15
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
Quote:
you need to learn to use vi
Sorry, but no-one needs to learn anything. In my opinion both Vi and EMACS are simply too hard to use and i prefer nano, aee, ee, mcedit, and the alike.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Limewire Installation prh Linux - Software 7 05-04-2005 08:35 AM
Limewire installation mc99044 Linux - Newbie 2 11-06-2004 09:20 PM
limewire installation..how? fuelinjection Linux - General 3 04-07-2004 02:12 AM
limewire installation muujahid Linux - Software 4 03-26-2004 01:58 PM
LimeWire installation n_hendrick Linux - Software 5 02-14-2004 12:50 PM


All times are GMT -5. The time now is 05:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration