Skip to main content



      Home
Home » Newcomers » Newcomers » printf in System.out
printf in System.out [message #91796] Wed, 03 August 2005 16:43 Go to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

High,

when I program a System.out.printf("%s\n","teststring") in Eclipse 3.1
the class does not compile. Compiling with javac on the command line works.

Does anybody know the reason for this behaviour.

Thanks
Re: printf in System.out [message #91811 is a reply to message #91796] Wed, 03 August 2005 16:46 Go to previous messageGo to next message
Eclipse UserFriend
> when I program a System.out.printf("%s\n","teststring") in Eclipse 3.1
> the class does not compile. Compiling with javac on the command line works.
>
> Does anybody know the reason for this behaviour.

yes, your compiler settings are wrong/
set the level to 5.0 and link against a 5.0 JDK

/adam
Re: printf in System.out [message #91827 is a reply to message #91811] Wed, 03 August 2005 16:59 Go to previous message
Eclipse UserFriend
Originally posted by: tm99news.gmx.net

Thanks a lot.

Thomas



Adam Kiezun schrieb:
>> when I program a System.out.printf("%s\n","teststring") in Eclipse 3.1
>> the class does not compile. Compiling with javac on the command line
>> works.
>>
>> Does anybody know the reason for this behaviour.
>
>
> yes, your compiler settings are wrong/
> set the level to 5.0 and link against a 5.0 JDK
>
> /adam
Previous Topic:Settings java permissions for a particular plug-in
Next Topic:Plug-In Tutorial
Goto Forum:
  


Current Time: Wed May 07 18:00:24 EDT 2025

Powered by FUDForum. Page generated in 0.07876 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top