Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: in the Libraries tab all buttons are disabled

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.

like image 759
Swai Avatar asked Jan 28 '18 21:01

Swai


2 Answers

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.

like image 110
howlger Avatar answered Oct 30 '22 20:10

howlger


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

like image 27
Sumit Pai Avatar answered Oct 30 '22 20:10

Sumit Pai