You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to test with the command jdtls I am getting the following error:
Traceback (most recent call last):
File "/usr/local/bin/jdtls/bin/jdtls", line 17, in <module>
jdtls.main(sys.argv[1:])
File "/usr/local/bin/jdtls/bin/jdtls.py", line 87, in main
java_executable = get_java_executable(known_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/jdtls/bin/jdtls.py", line 44, in get_java_executable
raise Exception("jdtls requires at least Java 17")
Exception: jdtls requires at least Java 17
I get the following error which matches what Helix shows in the logs:
Traceback (most recent call last):
File "/usr/local/bin/jdtls/bin/jdtls", line 17, in <module>
jdtls.main(sys.argv[1:])
File "/usr/local/bin/jdtls/bin/jdtls.py", line 87, in main
java_executable = get_java_executable(known_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/jdtls/bin/jdtls.py", line 37, in get_java_executable
out = subprocess.check_output([java_executable, '-version'], stderr = subprocess.STDOUT, universal_newlines=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/usr/lib/jvm/java-21-openjdk-amd64/bin'
The text was updated successfully, but these errors were encountered:
Hello I am trying to run JDTLS with Helix.
I am getting Permission Error reported from Helix.
I have to run two versions of Java due to my company using Java 8 and JTDLS needing Java 17 or higher.
In my bashrc I have Java 8 set like so:
When I try to test with the command
jdtls
I am getting the following error:When I try to run the command to use Java 21
I get the following error which matches what Helix shows in the logs:
The text was updated successfully, but these errors were encountered: