[ggo-discussion] Re: Newbie questions - Getting gGo going - Redhat 9 Linux
- From: Peter Strempel <pstrempel@xxxxxx>
- To: ggo-discussion@xxxxxxxxxxxxx
- Date: Tue, 22 Feb 2005 16:30:54 +0100
Anton Nannestad wrote:
> My problem is that I can't see how to start the client program. ggo is
> in /usr/local/bin and when I invoke it directly from there ... this is
> what I get back.
>
> Starting gGo...
> Warning: -jar not understood. Ignoring.
/usr/local/bin/ggo is a simple bash script which basically just does
"PATH_TO_JAVA/bin/java -jar PATH_TO_GGO/gGo.jar
Or in short, if your current directory is GGO/lib: java -jar gGo.jar
It doesn't matter if you use the "ggo" script or just type "java -jar
gGo.jar" yourself, result is the same. The script is only provided for
convinience to save some typing and the "cd" to directory.
Anyways, your problem is that the "java" command points to gcj, not the
Sun Java Runtime environment. gcj is unable to execute gGo. You need the
JRE from either Sun or IBM, both work but I'd recommend to use the Sun JRE.
After installing the Sun JRE you need to adjust "java" to point to the
Sun JRE bin/java command instead of gcj. I don't have RedHat myself, so
no idea how the default commands are setup. I guess "java" is just an
alias for "gcj", so if you already have Sun JRE then it isn't used.
I don't know why RedHat includes gcj instead of Suns JRE. So whatever
the RedHat setup is, install Sun JRE if it isn't yet
(http://java.sun.com/j2se/1.4.2/download.html, J2SE v 1.4.2_07) and
make sure "java" command points to PATH_TO_SUN_JRE/bin/java, not "gcj".
Then try "java -jar gGo.jar" again.
I have two Linux installations here: Suse Linux 9.1 which already
includes Sun JRE, so gGo runs out of the box. And Debian/testing, which
I installed without any Java stuff and then downloaded and installed Sun
JRE manually.
Peter
- References:
- [ggo-discussion] Newbie questions - Getting gGo going - Redhat 9 Linux
- From: Anton Nannestad
Other related posts:
- » [ggo-discussion] Newbie questions - Getting gGo going - Redhat 9 Linux
- » [ggo-discussion] Re: Newbie questions - Getting gGo going - Redhat 9 Linux
- [ggo-discussion] Newbie questions - Getting gGo going - Redhat 9 Linux
- From: Anton Nannestad