Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Discussion (https://www.gnutellaforums.com/general-discussion/)
-   -   linux user (https://www.gnutellaforums.com/general-discussion/1387-linux-user.html)

Unregistered May 27th, 2001 09:34 AM

linux user
 
How can i start phex in Linux. I unpacked it, but what do i have to do next. How do i start the program??????


Kyrillos

DrOMM May 27th, 2001 12:40 PM

First make sure that you have Java installed, and that you can execute java by typing "java" in the console.

If you have a problem ("command not found") at this stage let me know, I will explain that further.

If java works simply type:

java -jar /path/to/your/Phex/directory/phex.jar

By the way which Linux are you using?

Try Mandrake 8.0!! It RULEZ.

Hope that helps.

Olaf

Unregistered May 28th, 2001 01:55 PM

phex, no java
 
Ok i have no java, so i probaly have to download it from sun. If you have other ideas please let me know.

btw RH is not to bad:-)


Kyrillos

Unregistered May 29th, 2001 09:58 PM

got it working
 
Finally got phex working. Great but slow


Kyrillos

sadatx September 13th, 2002 03:31 AM

command not found
 
I have redhat 7.3 with j2sdk 1.4 and I get a command not found when I type java on the Konsole or when when I do java -jar phex.jar and yes am on the directory were phex is.
why does it show command not found and how do i fix it

Thanks in advance

HelgeB September 13th, 2002 11:19 AM

Re: command not found
 
Quote:

Originally posted by sadatx
I have redhat 7.3 with j2sdk 1.4 and I get a command not found when I type java on the Konsole
Hello sadatx,

check your path environment variable, is your j2jre/bin directory in?

Helge

Unregistered September 13th, 2002 07:51 PM

Im having the same problem with java not being found. Im not sure what you mean by "j2jre" directory. I have a jre directory. i.e

/usr/javaj2sdk1.4.0_02/jre/bin

I dont know much about Linux actually. I just want to get this thing working now, dont want it to defeat me if you know what I mean :D

Unregistered September 14th, 2002 11:08 AM

Do this as root
export PATH="/usr/javaj2sdk1.4.0_02/jre/bin":$PATH
that will add the java bin directory to the path, you might want to add that line to /etc/rc.d/rc.local so it does it every time you start the machine, or make a sh script like this

#!/bin/sh
echo "Starting Java..."
PATH="/usr/javaj2sdk1.4.0_02/jre/bin":$PATH
echo "Done..."

Save it as java.sh and copy it to /etc/profile.d/

Good Luck
marccd

Unregistered September 22nd, 2002 10:28 PM

Whats wrong?
 
I did the java test thing in console and i got this:


where options include:
-help print out this message
-version print out the build version
-v -verbose turn on verbose mode
-debug enable remote JAVA debugging
-noasyncgc don't allow asynchronous garbage collection
-verbosegc print a message when garbage collection occurs
-noclassgc disable class garbage collection
-cs -checksource check if source is newer when loading classes
-ss<number> set the maximum native stack size for any thread
-oss<number> set the maximum Java stack size for any thread
-ms<number> set the initial Java heap size
-mx<number> set the maximum Java heap size
-D<name>=<value> set a system property
-classpath <directories separated by colons>
list directories in which to look for classes
-prof[:<file>] output profiling data to ./java.prof or ./<file>
-verify verify all classes when read in
-verifyremote verify classes read in over the network [default]
-noverify do not verify any class

Then i put the write path and got he same thing.

Unregistered September 22nd, 2002 10:35 PM

This is what i get actually:


java -jar /home/walham/Desktop/directory/phex/phex.jar
-jar: illegal argument
Usage: java [-options] class

where options include:
-help print out this message
-version print out the build version
-v -verbose turn on verbose mode
-debug enable remote JAVA debugging
-noasyncgc don't allow asynchronous garbage collection
-verbosegc print a message when garbage collection occurs
-noclassgc disable class garbage collection
-cs -checksource check if source is newer when loading classes
-ss<number> set the maximum native stack size for any thread
-oss<number> set the maximum Java stack size for any thread
-ms<number> set the initial Java heap size
-mx<number> set the maximum Java heap size
-D<name>=<value> set a system property
-classpath <directories separated by colons>
list directories in which to look for classes
-prof[:<file>] output profiling data to ./java.prof or ./<file>
-verify verify all classes when read in
-verifyremote verify classes read in over the network [default]
-noverify do not verify any class


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