Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling "jdee-help-browse-jdk-doc" results in "cl-no-applicable-method: No applicable method: jdee-url-name, nil" #178

Open
liar666 opened this issue Sep 15, 2020 · 1 comment

Comments

@liar666
Copy link

liar666 commented Sep 15, 2020

My Emacs version:

26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14)

My JDEE version (elpa package date):

jdee 20191102.1426 installed

My JDK version:

1.11

My Operating System (Linux/OSX/Windows X/Other):

Linux Mint 20

Stacktrace (if applicable):

cl-no-applicable-method: No applicable method: jdee-url-name, nil

How to reproduce (if applicable):

Just call "jdee-help-browse-jdk-doc" anywhere in the code

Other info you consider could help to fix it:

I've tried: (setq jdee-jdk-doc-url "https://docs.oracle.com/javase/8/docs/api/")
Also, I've looked for the exact error message on my several search engines, with no luck...

@oldButNotWise
Copy link
Contributor

I had the same (or similar) problem. It was resolved by setting jdee-jdk-registry:

(setq jdee-jdk-registry '(("1.8" . "/usr/lib/jvm/zulu-8-amd64") ("1.11" . "/usr/lib/jvm/zulu11")))

You may also need to set jdee-jdk to ("1.11")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants