Can you show us the compiler error message, and the code with your use
of the printf/println usage?
Regards,
Dies
On 19/12/2009 07:08, emiddio-verizon wrote:
> i use jdk1.6.0_16; same issue; both 32/64bit
> i use nebeans6.8 -- its configured to use jdk1.6.x also
> the glassfish is setup to use jdk1.6.x also
> thanks for feedback
> gary
>
> ----- Original Message -----
> *From:* Bobby Bissett <mailto:Robert.Bissett_at_Sun.COM>
> *To:* users_at_glassfish.dev.java.net
> <mailto:users_at_glassfish.dev.java.net>
> *Sent:* Friday, December 18, 2009 7:00 AM
> *Subject:* Re: why can i use System.out.printf in gfv2
>
>> for j2ee components -- i cannot use System.out.printf or
>> System.out.format
>> i can use System.out.println
>> i recently tried to inside an EJB -- and will not compile; i tried
>> yrs ago and simply gave up.
>
> It works just fine for me. It might be the JDK you're using since
> printf and format are new since JDK 1.5, but println has always been
> there.
>
> Cheers,
> Bobby