Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   Please Help!! *Newbie* (https://www.gnutellaforums.com/general-linux-support/17404-please-help-newbie.html)

Kilumina November 19th, 2002 10:02 AM

Please Help!! *Newbie*
 
I have a question which I hope someone will be able to answer. I've been using Windows/Kazaa forever, but I decided to give linux a try yesterday, and I love it.

I've downloaded limewire but I can't seem to figure out how to install it! Reading through some previous posts, I downloaded the Java stuff, and installed it to: /usr/java/j2re1.4.1_01

I've used Nautalis to give execute permissions to LimeWireLinux.bin, but when I run the file and select "Run in Terminal", a white screen pops up for about 1 second and goes away. Any ideas what this is?

Like I said above -- I've been using linux for about 2 hours now maybe, and I'm totally new. I'm running Mandrake. Although I am a fast learner, I've never edited any scritps or anything like that, and I'm still getting used to this /root /lib /user stuff... =)

Any tips? Thanks.

votek November 19th, 2002 11:28 AM

try this
 
Your java is probably not installed right.

type this in your consol.

java -version

Let me know what comes up.

Kilumina November 19th, 2002 06:55 PM

Heres what I get when I type that command:
---
[Derrick@dhcp-201-8 Derrick]$ java -version
bash: java: command not found
[Derrick@dhcp-201-8 Derrick]$
---

The exact error I get when I try to run installer file is:

---
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.
--

Any Clues? Thanks

Unregistered November 20th, 2002 10:08 AM

Yeah, yours java is in wrong location =]
move all /usr/java stuff to /usr/local/java
or do as i did
move all /usr/java/bin ant others dirs into corespondenting dirs /usr/local/bin
like that
[x11@h2o x11]$ which java
/usr/local/bin/java
See?

Unregistered November 20th, 2002 06:51 PM

Change your path
 
You must add

PATH=$PATH:/usr/java/j2re1.4.1_01/bin
export PATH

to the .bashrc file in your home directory or to /etc/profile as root to add the java bin directory to your path.

ericaustin December 4th, 2002 02:37 AM

adding path to bashrc?
 
how do I edit bashrc or profile in /etc to set the java path? i tried copying "PATH=$PATH:/usr/java/j2re1.4.1_01/bin
export PATH" directly into the bottom of the profile file but this didn't work.

skepticman December 4th, 2002 04:38 PM

Re: adding path to bashrc?
 
You logged out and back in so it would refresh? Or you can source the file with this at a prompt to force an update:

. /etc/profile
-or-
source /etc/profile
-or-
. ~/.bashrc
-or-
source ~/.bashrc

Then type "echo $PATH" to verify the directory is in your path.

Then type "java -version" or "which java" to verify the correct one is running.


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