About 72,500 results
Open links in new tab
  1. java - Eclipse- Why module-info matters? - Stack Overflow

    Aug 28, 2019 · JPMS (= having a module-info.java file) is one way of modularization (resolved at compile time in contrast to OSGi where modules/bundles can be started and stopped at run …

  2. java - What is module-info and how to use it? Does it affect …

    Nov 4, 2018 · I have just upgraded to newest Eclipse and met some trouble. I want to use jSSC library in my project and perhaps I am doing something wrong. At first, I am setting classpath …

  3. Where to place module-info.java using Java 9? - Stack Overflow

    Sep 6, 2017 · Place module declaration (module-info.java) into the project's source root directory (e.g. src/main/java). It must be among the list of files to compile to be turned into a module …

  4. How to fix module-info.java for Java 11 + JavaFX Hibernate module

    Aug 29, 2019 · so with my module-info.java it cant compile, without it does compile but I cant run JavaFX that probably can be solved without the module-info.java file, but i would like to know …

  5. In which directory does module-info.java go? - Stack Overflow

    Nov 22, 2019 · Now, when I try to create a Maven project with Eclipse, using Java 9 modules, the module-info.java resides in the src/man/java directory, and likewise module-info.class is in …

  6. Compile a JDK 8 project + a JDK 9 "module-info.java" in Gradle

    Mar 11, 2019 · It is not implemented by calling javac. It is a complete compiler that can run above Java 8. It recognizes the syntax of module-info.java and generates the corresponding module …

  7. Java 9 + maven + junit: does test code need module-info.java of …

    Oct 7, 2017 · If you don’t have a module-info.java file in your test source set (src/test/java) this source set will be considered as traditional Java library during compilation and test runtime. In …

  8. How to create a module-info class file and add it to the jar?

    Dec 10, 2023 · If you're using Java 9 or higher, just add a module-info.java file to the root of your source folder (i.e. with no package), and include it in compilation. When using Maven, just put …

  9. Unable to find modules from module-info.java - Stack Overflow

    Aug 4, 2017 · Placement of the module-info.java. For me, the key was the placement of the module-info.java as well as the naming. I am migrating a multi module maven project from …

  10. ¿Qué es el module-info de java y para qué se utiliza?

    Jul 28, 2019 · Ejemplo de fichero module-info.java. module EjemploStackOverflow { exports es.stack.ejemploStack1; } El código anterior define el módulo EjemploStackOverflow donde se …