Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   The Solution To All Install Problems (https://www.gnutellaforums.com/general-linux-support/11187-solution-all-install-problems.html)

nDiScReEt January 23rd, 2003 06:41 PM

Re: Java woes
 
Quote:

Originally posted by totothehero
I've run through the process successfully (that is, gotten LimeWire to run just fine on several occasions); recently, though, and rather inexplicably, I've needed to "source /etc/.bash_profile" in order for "java -version" to work each time I run a new terminal. Also, after i get java recognized (it prints just what it should for both "java -version" and "which java") and run "sh /usr/LimeWire/runLime.sh", the following prints:
"Exception in thread "main" java.util.zip.ZipException: No such file or directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:117)
at java.util.jar.JarFile.<init>(JarFile.java:55)"

I don't know anything about java (or that much regarding linux, for that matter), so I am quite puzzled by this. any thoughts?
Thanks much

Try:
sh /usr/LimeWire/LimeWire

altoine.

P.S. I'm receiving similiar using gentoo. I will try to locate the problem if I can and post a solution to that. Something to do with the terminals.

totothehero January 23rd, 2003 07:42 PM

no luck
 
I get a no such file or directory when i try that...perhaps because it's LimeWire.jar?

thanks again (and this thread has been a great resource!)
will

nDiScReEt January 23rd, 2003 08:21 PM

Re: no luck
 
Quote:

Originally posted by totothehero
I get a no such file or directory when i try that...perhaps because it's LimeWire.jar?

thanks again (and this thread has been a great resource!)
will

That is weird. I just installed it on my system again to double check. I have it under the directory where I installed LimeWire. I noticed in your first post that runLime.sh was referenced under /usr/LimeWire. You can use LimeWire.jar just run this command:

java -jar LimeWire.jar

altoine

totothehero January 23rd, 2003 08:29 PM

Thanks!
 
program works! thanks so much for the help. I still need to "source ~/.bash_profile" before i run the .jar file...anyway around this? this is a minor problem, though. i can just write a script for myself if need be.
great work!

nDiScReEt January 23rd, 2003 09:28 PM

Re: Thanks!
 
Quote:

Originally posted by totothehero
program works! thanks so much for the help. I still need to "source ~/.bash_profile" before i run the .jar file...anyway around this? this is a minor problem, though. i can just write a script for myself if need be.
great work!

Your welcome and thank you for the positive feedback. In regards to having to run source .bash_profile for every terminal, the solution depends on what WM(Window Manager) you use.

If you use KDE, add "--login" at the beginning of the startkde script like so:

#!/bin/bash --login

That should fix your problem in KDE. I am currently trying to find a solution for openbox/fluxbox/blackbox (my preferred WM of choice).

altoine

dave00 March 16th, 2003 04:24 AM

funny installation errors
 
I get the following errors when trying to install Limewire on my system. It is a shared system and as such i have limited access. I can only write to my home directory and very little else.

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 0x891b04a)
at ZeroGee.<init>(source file unknown:line unknown, pc 0x8cf698b)
at ZeroGed.<init>(source file unknown:line unknown, pc 0x8ced83a)
at ZeroGdv.a(source file unknown:line unknown, pc 0x8ce2719)
at com.zerog.ia.installer.Main.a(source file unknown:line unknown, pc 0x8c3c111)
at com.zerog.ia.installer.Main.c(source file unknown:line unknown, pc 0x8c221ac)
at com.zerog.ia.installer.Main.main(source file unknown:line unknown, pc 0x831dac2)
at java.lang.reflect.Method.invoke(Method.java:native )
at com.zerog.lax.LAX.launch(source file unknown:line unknown, pc 0x829f9d6)
at com.zerog.lax.LAX.main(source file unknown:line unknown, pc 0x81f73eb)

trap_jaw March 16th, 2003 04:55 AM

Which java version are you using? I suggest you try downloading and installing Sun's latest JRE.

nDiScReEt March 18th, 2003 05:19 PM

For Zero-Privileged Access (Non root)
 
Follow these instructions:

1.) Download the latest sun java jre to your home directory.

2.) Unpack the sun package (sh +javajrepackagenamehere+.bin)

3.) Unpack the sun java jre tarball (tar -xzvf +javajrepackagenamehere+.tar.gz)

4.) Make note of the newly created java directory (ie ls $HOME/j2re **Replace jre with the actual name of the directory** This is to insure that the path is valid).

5.) Edit your .bash_profile or .bashrc file and point the $JAVA_HOME path to your java directory located in your home directory (ie /home/nonrootuser **Of course, replace "nonrootuser" with the name of the home directory for the account you are making changes).

6.) Add your "$JAVA_HOME/bin" first into your $PATH statement and place "/usr/bin" at the end. You might have to remove "/usr/bin" totally from your $PATH statement if the above suggestion of putting it at the end doesn't work.

7.) Save and then run:

source .bashrc or .bash_profile.

8.) Then you can install LimeWire as usual.

bennymikie December 17th, 2003 09:24 PM

Good Solutions
 
I'm running Mandrake 9.2, and your solution worked for me. Thanks!

skeeleraar December 23rd, 2003 04:20 AM

thankyouthankyouthankyou
i spend several hours trying to figure it all out myself, but with no luck
ur solution worked perfectly on my suse

thanks mate

great guide

greetz steve


All times are GMT -7. The time now is 12:11 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.