public static boolean is9OrLater(final String targetVersion) {
        if (isNotBlank(targetVersion)) {
            final Double v = Double.valueOf(targetVersion);
            return (v >= 9) || (v < 2 && v >= 1.9);
        } else {
            return false;
        }
    }
@Test
    public void testIs9OrLater() {
        assertThat(JavaVersion.is9OrLater(null), is(false));
        assertThat(JavaVersion.is9OrLater(""), is(false));
        assertThat(JavaVersion.is9OrLater("1.1"), is(false));
        assertThat(JavaVersion.is9OrLater("1.2"), is(false));
        assertThat(JavaVersion.is9OrLater("1.3"), is(false));
        assertThat(JavaVersion.is9OrLater("1.4"), is(false));
        assertThat(JavaVersion.is9OrLater("1.5"), is(false));
        assertThat(JavaVersion.is9OrLater("5"), is(false));
        assertThat(JavaVersion.is9OrLater("1.6"), is(false));
        assertThat(JavaVersion.is9OrLater("6"), is(false));
        assertThat(JavaVersion.is9OrLater("1.7"), is(false));
        assertThat(JavaVersion.is9OrLater("7"), is(false));
        assertThat(JavaVersion.is9OrLater("1.8"), is(false));
        assertThat(JavaVersion.is9OrLater("8"), is(false));
        assertThat(JavaVersion.is9OrLater("1.9"), is(true));
        assertThat(JavaVersion.is9OrLater("9"), is(true));
        assertThat(JavaVersion.is9OrLater("10"), is(true));
        assertThat(JavaVersion.is9OrLater("11"), is(true));
    }