We use tildes in install paths (/foo/bar/baz/group~value~id). This doesn't jive well with the current regex: https://github.com/palantir/go-java-launcher/blob/develop/launchlib/launcher.go#L110 when the provided JAVA_HOME is a subdirectory of that install path.
Request is to allow tildes if they aren't at the beginning of the path (AKA won't resolve to the home directory).