Re: printf doesn't work for me.
- From: Fred Furonem <anon@xxxxxxxxxxxxxxx>
- Date: 30 Apr 2006 08:56:33 -0000
On Sun, 30 Apr 2006 07:25:44 +0100
Andy <ajg112@xxxxxxxxxxxxxx> wrote:
potteryglazefire@xxxxxxxxx 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
.
- Follow-Ups:
- Re: printf doesn't work for me.
- From: Janet
- Re: printf doesn't work for me.
- Prev by Date: Re: printf doesn't work for me.
- Next by Date: Re: JFileChooser
- Previous by thread: Re: printf doesn't work for me.
- Next by thread: Re: printf doesn't work for me.
- Index(es):
Relevant Pages
|