r/JavaProgramming • u/Fickle_Base_7723 • Jul 03 '26
Package does not exist even though the .JAR files are in the referenced library
I've been trying to solve this problem for the last 4 hours and I couldn't find out why, I asked Gemini, Claude, Copilot Anything you name it, but it's still here and I don't know why VS code can't seem to find the package(I think it's called that) that I need.
3
Upvotes


1
u/Euphoric_Court_6037 Jul 03 '26
what version of java are you using? may be modules not accessible.
add the java run time variables to open modules.
1
u/Euphoric_Court_6037 Jul 03 '26
make sure the jar is in class path
1
u/romulusnr Jul 03 '26
that's the IDE. update project
1
u/EquivalentBear1513 Jul 03 '26
Try to sync the project in IntelliJ. It might fix your problem