简体   繁体   中英

Clojure (javadoc) function tries to load docs in a JFrame instead of web browser

As you see in title. Google cannot help because only pages I found was about setting java plugin in browser.

Clojure 1.5.1 started with 'lein repl' on Debian Wheezy. Oracle JDK installed with 'java-package' script.

EDIT: Looks like java.awt.Desktop/isDesktopSupported always returns false on Debian. It's an Oracle JRE bug/feature.

javadoc tries to open the URL in browser or, when everything else fails, in a Swing browser.

You can have a look at clojure.java.browse , particularly at open-url-in-browser :

"Opens url (a string) in the default system web browser. May not work on all platforms. Returns url on success, nil if not supported."

But I'm not sure what is missing (or not working) on your Debian installation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM