Click to See Complete Forum and Search --> : Limewire and Java VM


Broxtor
01-03-2003, 12:31 PM
Hello again,

I tried to install LimeWire in RH8, using an *bin file.
I a terminal I typed:

./LimeWireLinux.bin

This resulted in the following error.
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.

I don't get this since I've got Java VM installed. (j2re)

Anyone know what's going on here?

jglen490
01-03-2003, 12:36 PM
Is the Java VM in your $PATH environment.

echo $PATH

which <name of Java VM>

If the directory of the Java VM is not in your $PATH statement, then add it to your path. It's very likely that your root path and normal user path environments will be different.

Broxtor
01-03-2003, 04:30 PM
I don't understand this exactly.

When I type echo $PATH it shows a number of paths ;) .I think those are the directory 's were an application will search for files.

But how do I know which path to add and how do I add a path to &PATH? I don't even know which name to use. Is it Java, j2re or something else?
:confused: :confused:

mdwatts
01-03-2003, 04:35 PM
These forum search results for 'java limewire' (http://linuxnewbie.org/forum/search.php?s=&action=showresults&searchid=297956&sortby=lastpost&sortorder=descending) should help you with setting the Java path.

I posted the solution in another thread yesterday.

Broxtor
01-03-2003, 04:57 PM
First, I apologize for not searching the forum good enough.

Second the other thread did make some things clear to me but I still don't get it. In my etc/profile there is no PATH= statement.
This is my etc/profile

# /etc/profile

# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc

pathmunge () {
if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
fi
}

# Path manipulation
if [ `id -u` = 0 ]; then
pathmunge /sbin
pathmunge /usr/sbin
pathmunge /usr/local/sbin
fi

pathmunge /usr/X11R6/bin after

unset pathmunge

# No core files by default
ulimit -S -c 0 > /dev/null 2>&1

USER="`id -un`"
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"

HOSTNAME=`/bin/hostname`
HISTSIZE=1000

if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
INPUTRC=/etc/inputrc
fi

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC

for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
. $i
fi
done

unset i

I have to tried to add a path with pathmunge (under #Path manipulation) but when I do an echo $PATH afterwards the path hasn't been added.

Broxtor
01-03-2003, 05:22 PM
I 've found the solution.

I had to edit .bash_profiles.

mdwatts
01-03-2003, 06:01 PM
You're quite welcome... Glad we could help.

You could have added the path as

PATH=$PATH:$1:/oath/to/java
else
PATH=$1:$PATH:/path/to/java

That would make it system wide instead of just for one user.

Broxtor
01-04-2003, 05:46 AM
Thanks for tip!!

szeffe
02-04-2003, 04:38 PM
Well this all helped me a lot and although I am not yet that comfortable with this forum, I believe I have read almost everything about the "LimeWire Java problem".
To be honest this helped me a lot since now I finally GOT JAva installed and the path set right.... But now take a look at this:

Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Error: Unrecognized JVM specific option `-Xmx100331648'.
Error: Unrecognized JVM specific option `-Xms16777216'.
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError: ZeroGd9
at ZeroGed.a(source file unknown:line unknown, pc 0x869182a)
at ZeroGee.<init>(source file unknown:line unknown, pc 0x83635a3)
at ZeroGed.<init>(source file unknown:line unknown, pc 0x822c452)
at ZeroGdv.a(source file unknown:line unknown, pc 0x85fb527)
at com.zerog.ia.installer.Main.a(source file unknown:line unknown, pc 0x868f8f1)
at com.zerog.ia.installer.Main.c(source file unknown:line unknown, pc 0x86701ac)
at com.zerog.ia.installer.Main.main(source file unknown:line unknown, pc 0x833fac2)
at java.lang.reflect.Method.invoke0(Method.java:nativ e)
at java.lang.reflect.Method.invoke(Method.java:256)
at com.zerog.lax.LAX.launch(source file unknown:line unknown, pc 0x82b89d6)
at com.zerog.lax.LAX.main(source file unknown:line unknown, pc 0x82033ed)
[root@IdiotBox szeffe]#



----
Now - what am I to do?
If possible, let me know via Email or "personal Message" if you have an answer to my problem because I'm not really shure if I'll be able to find my way back here.
Thank you very much for your patience!

flippantfig
02-04-2003, 05:01 PM
you got it too? I have tried so many times to get past that but after searching here, limewire and google no solution popped up (sorry to sound so positive!).

BUT, there is giFT. Just discovered this after following this thread (http://www.justlinux.com/forum/showthread.php?s=&threadid=74502) posted by Hayl. It works too!! And if you use the curses front end like he suggests (with the script) its light and fast.

Or you could try GTK-Gnutella if you want to get onto the Gnutella networks with a native client.

:D