Searching in java/greeter