another tweak to regex for detecting /usr/lib/jvm/java-7-openjdk-amd64/ on linux