Re: printf doesn't work for me.
- From: Andy <ajg112@xxxxxxxxxxxxxx>
- Date: Sun, 30 Apr 2006 07:25:44 +0100
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
.
- References:
- printf doesn't work for me.
- From: potteryglazefire
- Re: printf doesn't work for me.
- From: Mishagam
- Re: printf doesn't work for me.
- From: potteryglazefire
- printf doesn't work for me.
- Prev by Date: Re: printf doesn't work for me.
- Next by Date: Re: printf doesn't work for me.
- Previous by thread: Re: printf doesn't work for me.
- Next by thread: Re: printf doesn't work for me.
- Index(es):
Relevant Pages
|