Re: printf doesn't work for me.



potteryglazefire@xxxxxxxxx wrote:

On the FC5 machine...
$ 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"
Thanks again...


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
.



Relevant Pages

  • Re: Blaze Find Tool Bar
    ... Kathleen - Here's some help about installing/reinstalling a Java VM: ... Sun also offers an automatic download and install of the 1.4 Java plug-in ... >> programs report as spyware. ...
    (microsoft.public.windowsxp.general)
  • Re: If i download latest OE6 updates, will it update OE also ?
    ... Script Debugging Problem ... Where to get the JAVA VM ... Sun also offers an automatic download and install of the 1.4 Java plug-in ... It may, however, be Shockwave Flash related, try the following: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Microsoft websites screw up IE6(SP2)
    ... I won't get involved in the horrible java mess between MS and Sun. Let them ... > At this point I'm not sure if I agree that the fault lies with SP2. ... > websites compatible with Windows XP Home, which is what I'm running, ... >> JVM for IE (in install), or after install via the JavaPlugin control ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Page Cannot be Displayed
    ... Script Debugging Problem ... Where to get the JAVA VM ... Sun also offers an automatic download and install of the 1.4 Java plug-in ... It may, however, be Shockwave Flash related, try the following: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Your browser does not support Java
    ... Script Debugging Problem ... Where to get the JAVA VM ... Sun also offers an automatic download and install of the 1.4 Java plug-in ... It may, however, be Shockwave Flash related, try the following: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)