EatSleepCode
EatSleepCode

Reputation: 462

Java Eclipse cant add external jars

I'm watching a YouTube tutorial and the instructor adds external Jar files into the JRE System Library, but the button "Add External JARs" is not clickable for me. How can I fix this?

enter image description here

Upvotes: 1

Views: 10871

Answers (2)

BUKENYA HUZAIFA
BUKENYA HUZAIFA

Reputation: 41

All of them at first are unclickable when you try to click on them , but rather you right click on the modulepath under the libraries (Build path) , then they will become clickable and then import what you want. That's how its simple.

Upvotes: 3

Sandeep Kumar
Sandeep Kumar

Reputation: 2557

You have selected the JRE System Library in the panel. Un-select that and you will be able to add external jars.

You can click on the Classpath or Modulepath to move the control away.

Please download the jars from here.

Extract the zip and from the extracted folder select all the necessary jar you need.

For the classes mentioned in the comment. Please add below jars:

1. selenium-api-4.0.0-alpha-3.jar
2. selenium-chrome-driver-4.0.0-alpha-3.jar

NOTE: The versions might vary.

Upvotes: 1

Related Questions