any one help me????????????????????????????????
how to convert text file to kml file using java???

KML (Keyhole Markup Language) files are for geographic data. It isn't part of the standard Java as far as I know, so you are going to need a 3rd party Java API. There are some KML libraries around that certain groups have produced.