jhsearch --version (return code: 0)
java.net.MalformedURLException: no protocol: --version
at java.base/java.net.URL.<init>(URL.java:627)
at java.base/java.net.URL.<init>(URL.java:523)
at java.base/java.net.URL.<init>(URL.java:470)
at com.sun.java.help.search.Schema.getURL(Schema.java:136)
at com.sun.java.help.search.Schema.read(Schema.java:173)
at com.sun.java.help.search.Schema.<init>(Schema.java:69)
at com.sun.java.help.search.SearchEnvironment.readFromDB(SearchEnvironment.java:305)
at com.sun.java.help.search.SearchEnvironment.<init>(SearchEnvironment.java:81)
at com.sun.java.help.search.QueryEngine.<init>(QueryEngine.java:61)
at com.sun.java.help.search.QueryEngine.main(QueryEngine.java:198)
jhsearch --help (return code: 0)
java.net.MalformedURLException: no protocol: --help
at java.base/java.net.URL.<init>(URL.java:627)
at java.base/java.net.URL.<init>(URL.java:523)
at java.base/java.net.URL.<init>(URL.java:470)
at com.sun.java.help.search.Schema.getURL(Schema.java:136)
at com.sun.java.help.search.Schema.read(Schema.java:173)
at com.sun.java.help.search.Schema.<init>(Schema.java:69)
at com.sun.java.help.search.SearchEnvironment.readFromDB(SearchEnvironment.java:305)
at com.sun.java.help.search.SearchEnvironment.<init>(SearchEnvironment.java:81)
at com.sun.java.help.search.QueryEngine.<init>(QueryEngine.java:61)
at com.sun.java.help.search.QueryEngine.main(QueryEngine.java:198)