First load() it using the java.util.Properties API.
Properties properties = new Properties();
properties.load(reader);
Then you can use the remove() method.
properties.remove(key);
And finally store() it to the file.
properties.store(writer, null);
See also: