|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
General Discussion For anything which doesn't fit somewhere else (for PHEX users) |
| LinkBack | Thread Tools | Display Modes |
| |||
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 |
| |||
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 |
| |||
Re: command not found Quote:
check your path environment variable, is your j2jre/bin directory in? Helge |
| |||
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 |
| |||
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 |
| |||
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. |
| |||
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 |
| |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Linux | garbagefan2 | Chat - Open Topics - The Lounge | 3 | August 4th, 2006 04:49 PM |
cant browse limewire user? is this user sharing!? | LimeySalior | LimeWire Beta Archives | 8 | October 19th, 2004 10:58 AM |
linux--help | katy | General Linux Support | 0 | October 1st, 2002 11:57 AM |
Use Linux! | Unregistered | LimeWire Beta Archives | 0 | November 13th, 2001 11:16 AM |