Replies: 2 comments 1 reply
-
I have a similar situation on linux - we don't have maven etc... using old ant for builds, and specify dependencies via $CLASSPATH. jdtls does not seem to see the dependency jars, reporting errors when I use thsoe classes in my code... |
Beta Was this translation helpful? Give feedback.
-
This basically also similar question i asked: #3478 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
(WINDOWS, jdt.ls 1.9.0)
Need some help with projects.
I set up jdtls in my editor ecode and it works like a charm until I try to use a library from my university.
It came in a jar. When I open a single file it says non-project file - only syntax errors highlighted but when
I try to use my university's lib and open the whole folder as a project, it won't resolve anything outta there. I tried
adding a custom folder to %CLASSPATH% and putting it in there but no help.
Can I put it into a special folder with some name or anything? In the basedir I currently put it to
.\res\dep
butobviously that is not found. It shall only be unpacked into
lib
before compiling but I'd love to do projects withoutjdtls not finding my resources and marking them in red as errors as I'd need that to quickly find syntax problems.
How would I accomplish that? Is there some workaround or init value for such cases to give a folder with some jars?
Beta Was this translation helpful? Give feedback.
All reactions