Hi Jan, Thanks for quick reply. In fact I'm using jdk5 itself. After setting <javac source="" target=""> to 1.5 it is working fine now. Thank you once again...
below is my jdk version: bash-3.00$ java -version java version "1.5.0_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08) Java HotSpot(TM) Server VM (build 1.5.0_01-b08, mixed mode) -Joe --- [EMAIL PROTECTED] wrote: > First of all you have to install a Java5 Development > Kit. > Having that installed as first on the PATH, Ant > should do the rest automatically - if not specified > something else. > > These two attributes are responsible for using > former versions > <javac source="" target=""> > Dont use them or set them to "1.5". > > > Jan > > > >-----Ursprüngliche Nachricht----- > >Von: joe P [mailto:[EMAIL PROTECTED] > >Gesendet: Montag, 15. Januar 2007 12:06 > >An: [email protected] > >Betreff: How to set source from 1.4 to 1.5 > > > >Hi , > >Can any one suggest me solution to set source from > 1.4 to 1.5 . > >I'm trying to run ant script but it is failing with > the below message. > > > >generics are not supported in -source 1.4 > > [javac] (try -source 1.5 to enable generics) > > > >Please let me know how can i fix this? > > > >Thanks, > >Joe > > > > > > > >_______________________________________________________________ > >_____________________ > >Don't pick lemons. > >See all the new 2007 cars at Yahoo! Autos. > >http://autos.yahoo.com/new_cars.html > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: > [EMAIL PROTECTED] For > >additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
