Eclipse: in the Libraries tab all buttons are disabled
Asked Answered
O

3

10

I am using Eclipse Oxygen.2 (4.7.2) and Java 9.0.4. I created a project via right-click > Build Path > Configure Build Path... > Libraries. All buttons are disabled like Add JARs, *Add External JARs..., etc.:

screen shot of error page

Please help me to solve this issue.

Opaline answered 28/1, 2018 at 21:15 Comment(0)
P
9

You first have to select either Modulepath or Classpath.

The Modulepath is a very new thing for Java 9 (here you can watch a short video how it can be used). It exists since the Eclipse Oxygen.1a (4.7.1a), October 11, 2017. In case of doubt, I recommend selecting Classpath.

Pennywise answered 28/1, 2018 at 21:44 Comment(0)
B
3

When this window is open first click on the 'Modulepath' > After that 'Add JARs' option get enabled.

Bowery answered 10/11, 2020 at 6:5 Comment(0)
B
0

I experienced the same issue and this is what worked for me, I got it from another post.

From looking at the shared screenshot. You have selected the Modulepath in the panel.

Un-select that and you will be able to add external jars. You can click on the Classpath to move the control away.

I hope this works for you.

Brake answered 23/9, 2022 at 7:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.