Re: printf doesn't work for me.
- From: "Janet" <potteryglazefire@xxxxxxxxx>
- Date: 30 Apr 2006 09:49:54 -0700
Fred Furonem wrote:
On Sun, 30 Apr 2006 07:25:44 +0100
Andy <ajg...@...> wrote:
potteryglaze...@... wrote:
On the FC5 machine...Thanks again...
$ java --version
java version "1.4.2"
gij (GNU libgcj) version 4.1.0 20060304 (Red Hat 4.1.0-3)
On the Soaris machine...
$ java -version
java version "1.5.0_04"
As Mishagam wrote, printf is a new in Java 1.5. As far as I can see,
gcj does not support it yet, which is why your solaris box is happy
with the code, but your linux (fedora) box is not.
However, the sun java release is very easy to install and set up, so
for 1.5 features, I think your're best installing that. Go to
java.sun.com and get the latest 1.5 release, install it into
somewhere like /opt, set your path to include the new version's bin
directory, that should be it.
Hope that helps
Andy
You'll need the manual install option, as the default rpm doesn't work with
Fedora Core. See:
http://stanton-finley.net/fedora_core_4_installation_notes.html#Java
Wow. Cool information. That worked like a charm. Instead of using the
JRE, I went with the JDK and all is well.
Thanks to everyone for your help.
Now I will continue my plans to take over the world (sinister laugh in
background...:).
.
- References:
- Re: printf doesn't work for me.
- From: Fred Furonem
- Re: printf doesn't work for me.
- Prev by Date: Re: Help needed making a move into a Apple iBook
- Next by Date: Not able to run program
- Previous by thread: Re: printf doesn't work for me.
- Next by thread: Not able to run program
- Index(es):
Relevant Pages
|