Java project: Import all jar in folder
See original GitHub issueI would like to import all jar files into my vscode project classpath. If I do this it works, but only for one library of course:
In my case I have almost 100 .jar files to import. If I put them in lib and put try this:
<classpathentry kind="lib" path="lib"/>
Or this:
<classpathentry kind="lib" path="lib/*.jar"/>
Or this
<classpathentry kind="lib" path="lib/*"/>
Do not work
I also tried putting with changing the settings this way:
"java.project.referencedLibraries": [
"lib/mylib/*.jar"
]
But it doesnt work either Any idea?
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
vscode classpath: Import all jar in folder - java - Stack Overflow
Start from Language Support for Java@0.55.0,you could add new setting java.project.referencedLibraries to config the project classpaths.
Read more >Importing and Exporting Java Projects as JAR Files in Eclipse
1. Start Eclipse and navigate to your workspace. · 2. In Package Explorer, left-click on the project you want to export. · 3....
Read more >How to import a jar file in Eclipse - JanBask Training
To add or import a jar files in your Eclipse IDE, follow the steps given below. Right click on your project; Select Build...
Read more >Java: JAR file | I'd Rather Be Writing Blog - Idratherbewriting.com
After you create a Java project, create a new folder by going to File > New > Folder. Call it “lib”. Then import...
Read more >How to Add JARs to Project Build Paths in Eclipse (Java)
1. Create a new folder named lib in your project folder. This stands for "libraries" and will contain all the JARs you'll be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi jdneo, Seemed to be a problem with my JDK on Linux Mint. Just installed JDK 13 and it works fines now. Sorry for that Cheers
Hmm, the folder structure looks fine to me. Not sure what’s wrong happening 🤔
@testforstephen Do you have any idea?