module-path Questions
3
Solved
Project structure
I have a project written in Java 8 and I want to update it to Java 9. So I separated the classes into 2 separate modules. Modules:
org.ggp.base with module-info.java in the dir...
Goines asked 25/3, 2018 at 13:46
6
In a create-next-app Next.js application, I want to move the pages folder in the root directory to a src folder. I added a jsconfig.json with the code (below), however now I get the error message &...
Slapup asked 23/10, 2021 at 17:19
2
Solved
I have a project. Originally it was a single module project with structure like this
java-cloud-sample\
src\
main\
java
pom.xml
I decided to make it into a multi-module structure - I use jav...
Greiner asked 8/9, 2017 at 14:24
3
Solved
I was reading this article on InfoQ quoting Reinhold:
Developers can still use the Java class path in Java 9 for the Java
runtime to search for classes and resource files. It's just that with
...
Siddra asked 18/7, 2017 at 12:25
2
Solved
I'm trying to define a Java 9 module. I have defined something like:
module my.module.name {
}
Then many of my files started to give me errors, that they cannot find some packages. Then I used ...
Athletics asked 15/5, 2018 at 14:38
3
Solved
I have been trying to set up JavaFX-11 in Visual Studio Code.
I found this post JavaFX-11 with VSCode, which explained how to do so, and followed the steps.
However, I need to include the module-...
Kiaochow asked 3/3, 2019 at 7:45
1
Solved
Advance thanks, who are be going to help me.
Story: till date my application is using JDK8, but right now I am migrating my application to Open JDK11 and using IVY as dependency manager and Ant as ...
Bili asked 2/5, 2019 at 6:9
1
I tried to follow this question but it does`t work for me.
I want to compile 1 module (which does not requires any other module or jar) together with other classes which use this module and will be...
Technical asked 28/3, 2018 at 15:2
1
Solved
---------------------------------------------
package org.zpf.service;
public interface Services {
void test();
}
module org.zpf.service.Services {
exports org.zpf.service;
}
--------------------...
Satinwood asked 7/12, 2018 at 15:2
1
Solved
I'm starting to dig into Java 11 migration for a large app (includes Java FX parts) and I need your help to understand the difference between Maven (3.5.4) on the command-line and Eclipse (2018-09 ...
Jem asked 10/10, 2018 at 13:14
1
Solved
Is there any way to get list of directories which are included in module-path with use of -p or --module-path arguments at runtime similar to how I whold get all classpath directories using System....
Fabricate asked 26/5, 2018 at 14:53
1
Solved
In Eclipse, what is the difference between modulepath and classpath, and which one should I use to add a JAR file in the lib folder?
And why does the JRE System Library appear in modulepath?
Servo asked 13/5, 2018 at 23:44
0
I followed the Gradle guide on building Java 9 modules to get a simple Java 9-based library project off the ground. In particular I followed the advice in the guide to manually set my module path l...
Altorelievo asked 23/12, 2017 at 21:8
1
I am having the following situation:
Module Address:
module org.abondar.experimental.address {
exports org.abondar.experimental.address;
}
Module Person:
module org.abondar.experimental.perso...
Esma asked 20/12, 2017 at 19:45
3
I am trying to understand new modularity in java 9 with spring-boot so I want to run some simple application for example: https://github.com/tmatyashovsky/java9-springboot
I am using maven 3.5.0 w...
Theresatherese asked 22/6, 2017 at 11:13
1
Solved
I installed Version: Oxygen.1a Release (4.7.1a) Build id: 20171005-1200 supporting Java 9.
With suggested configuratio on eclipse.ini
-vm
C:\Program Files\Java\jdk-9\bin\javaw.exe
--add-modules=A...
Temptress asked 4/11, 2017 at 10:55
1
Solved
I'm trying to migrate some legacy applications to the new Java 9 module system, to strengthen its encapsulation.
I'm starting from the outside-in, with the assumption that classes on the periphery...
Menken asked 25/10, 2017 at 18:34
1
I have a project that today has several jars as "Referenced Libraries". I'd instead like to add these as automatic modules on the module path so I can require them in my module-info.java. How do yo...
Kissee asked 7/6, 2017 at 3:39
2
Solved
When I compile a module that depends on other modules I've compiled previously I have to specify the --module-path <directory> option. This makes modules I depend on visible.
But at the sam...
Dolce asked 18/9, 2017 at 21:2
1
Solved
When I run an application via java -cp (without --add-modules or --limit-modules), some Java system modules are observable while the others are not.
For example, all java.se modules are observable...
Colorist asked 18/5, 2017 at 14:56
1
I created a simple JMOD file with the jmod tool like this
$JAVA_HOME/bin/jmod create --class-path classes test/samples.jmod
Next, I tried to execute a class within that module by running:
java ...
Garnett asked 8/7, 2016 at 12:45
1
© 2022 - 2024 — McMap. All rights reserved.