Modulepath does not appear in the Libraries tab of my Eclipse, how can I configure it?

Asked

Viewed 131 times

0

I was trying to add a library to the module path when creating a project, but I can’t correctly add pq to the modulepath option.

I’m following a tutorial.inserir a descrição da imagem aqui

My screen doesn’t appear... And the tutorial is like this: inserir a descrição da imagem aqui

1 answer

0

The concept of modularization started on the Java platform in the version 9. This way, however much structurally your project is similar to the tutorial you are following, will not be shown the information of Modulepath and Classpath.
Note: The version of the tutorial certainly displays because the version is being used Java 10.

To fix you need:

  1. On this tab Libraries alter the JRE for a version from the Java 9.
  2. Make sure that Project Facet this project is configured correctly:
    • right click on design ~> Estates ~> Project Facets ~> Convert to faceted form... (if the project is not configured).
    • Among the list enable the Java and define the same version that configured your JRE(item 1).
  3. Click on Apply, return the tab Libraries follow your tutorial and good studies.
  • Thanks. I’ll taste this when I get home. abs

  • @Gustavoteixeira, did it work? Your feedback is very important because it serves as reference for other users with the same doubt as you.

  • I will prove... was using another project and went over the problem. I am resuming this week after a few absent. Thank you. Put here if it worked during that week. abs

Browser other questions tagged

You are not signed in. Login or sign up in order to post.