handling of java programs..