prinf format doesnot work in eclipse for MacosX as it work in windows.
I fix the problem myself under Preferences - Java - Compiler i was using 1.6 as soon as i change to 1.5 it work as normal
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.