java-platform-module-system Questions
2
Solved
when we create jlink runtime images we can use tags such as '--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages' , creating a distribution folder around 45mb.
If we want to us...
Guru asked 14/11, 2017 at 13:45
0
How can I use a custom classpath when overriding a native class like java.util.regex.Matcher in a non-modular code base.
Basically what I want to do is to use a different class path like --class-p...
Unprofitable asked 8/3, 2018 at 14:51
3
Solved
I thought that JPMS doesn't support module version. However, when I do java --list-modules I have the following output:
java.activation@9
java.base@9
java.compiler@9
java.corba@9
java.datatransfer...
Basil asked 8/1, 2018 at 13:19
2
Solved
I face the problem that the service binding option of jlink links many, many modules, none of them seems to be necessary. These modules aren't linked when the service binding option is omitted.
Q...
Umbilication asked 26/1, 2018 at 19:18
1
Solved
How can one get to know of the list of modules that have been resolved while the application has been started so as to figure out what all service providers are accessible from the root module.
Sclerous asked 19/1, 2018 at 11:0
2
Solved
I was trying to use joptsimple package in my project but I get following error:
Error:(4, 20) java: package jdk.internal.joptsimple is not visible
(package jdk.internal.joptsimple is declared in ...
Darwin asked 5/1, 2018 at 19:56
1
Solved
We have a Java application that does not use AWT/Swing/JavaFX and works fine with a private bundled JRE 8. JRE 9 is significantly larger than JRE 8 but we want to let the users try our application ...
Corrode asked 2/1, 2018 at 12:11
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
1
Solved
I have an interesting concern. I am used to multi-module Maven projects. Now I am investigating how to do the same but also using Jigsaw. Am right that every single Maven Module can have only one J...
Carthy asked 18/12, 2017 at 19:43
1
Solved
In order to be able to use my Eclipse plugin "treezCore" also as a Java9 module I created a module-info.java in my src folder.
Furthermore, I moved the Plug-in Dependencies from the Classpath to ...
Butacaine asked 12/12, 2017 at 12:49
1
I have been playing around with simple custom classloaders in Java, and so far everything works as expected for non-module related classes. However, I can't seem to find any way to load a class fro...
Unworthy asked 6/12, 2017 at 23:48
2
Solved
I can't seem to find any info on whether scanning all available classes (for interfaces, annotations etc) is still possible in runtime, the way Spring, Reflections and many other frameworks and lib...
Headlock asked 30/1, 2017 at 9:36
2
Solved
I created runtime image using jlink on my Linux machine. And I see linux folder under the include folder. Does it mean that I can use this runtime image only for Linux platform? If yes, are there a...
Granth asked 1/12, 2017 at 12:27
1
Solved
I`m trying to run jdeps with the following command:
jdeps --module-path modules --generate-module-info out com.demo.market.jar
My com.demo.market.jar depends both on application modules and auto...
Erida asked 26/11, 2017 at 20:7
2
In Java 9, you can optionally package a source directory as a module by adding a module-info.java, which defines the things packages that it exports, and which other modules it depends on.
Once yo...
Gosselin asked 17/11, 2017 at 20:48
1
I have a multi-module maven project with three modules core, utils and test-utils
Core has the following dependencies definition
<dependency>
<groupId>my.project</groupId>
<...
Leesa asked 6/11, 2017 at 21:54
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
3
Solved
I have a simple Java 9 SE project with one dependency on a non-modularized project (chose Weld SE for this example) and I am trying to build it with Maven (clean install).In order for Java 9 to kic...
Misanthropy asked 8/11, 2016 at 15:19
2
Solved
I have some java9 module that uses 3rd party library that is not Java9 module, just a simple utility jar.
However, the compiler complains that it can't find a package from my utility.
What should...
Epps asked 12/10, 2017 at 15:19
3
I am currently testing to migrate a Java 8 application to Java 9 / Jigsaw, using jdk-9+149.
The project has been laid out in standard Maven directory layout, i.e. having src/main/java, src/test/ja...
Rowena asked 28/12, 2016 at 17:4
1
Solved
The following code (to retrieve the base URL of a Java Web Start client application via the JNLP API) worked in Java 8 but failed when executed in (modularized) Java 9 runtime:
Class<?> mcla...
Foursquare asked 10/10, 2017 at 14:13
0
To be able to better judge the risk of reflection while porting to Java 9 I wonder if shallow reflection in place of static compilation is safe as long as it references a accessible type:
I mean, ...
Medor asked 10/10, 2017 at 8:48
2
Solved
Before Jigsaw it was quite easy to replace one or several classes in OpenJDK (to perform some test or make a contribution). I could copy an original file from OpenJDK source, for example, java/util...
Pet asked 28/3, 2016 at 20:31
2
Import of a Java-9-Jigsaw-Maven-Project in Eclipse Oxygen 4.7 does not work
I use:
JDK 9 build 9-ea+172
Maven 3.5.0
Eclipse Oxygen 4.7 RC3 Version
4.7.0.I20170531-2000 from 2017-05-31
Eclipse-Pl...
Hernia asked 3/6, 2017 at 12:6
© 2022 - 2024 — McMap. All rights reserved.