I don't like the original sentence much, but I don't like this change either.  A user has to be literally working in Java (e.g. their app is a java app) to use Lucene.  The change makes it sound like you just need Java installed and can then integrate it with your application (e.g. using Lucene in Ruby via a Java extension or something)