Serban Iordache

Results 113 comments of Serban Iordache

It seems that one of your dependencies is not a valid jar. To troubleshoot put this into your root `build.gradle`: ``` allprojects { task showdeps { doFirst { configurations.runtimeClasspath.resolvedConfiguration.firstLevelModuleDependencies.each {...

It's difficult to say what is wrong, without seeing your code, but try to add this to your `build.gradle`: ``` jlink { ... mergedModule { additive = true requires 'java.desktop'...

There is currently no support for additional launchers in the runtime plugin, so you need to add a couple of things to your build.gradle to make it work. I put...

Do you mean target-platform-specific values for the jvmArgs defined in `launcher`? ``` jlink { launcher { jvmArgs = [...] .... } ... } ``` There is currently no support for...

Do you run it via a symlink? If yes, then the error may be caused by [this bug](https://bugs.openjdk.java.net/browse/JDK-8248905).

The jpackage command looks good. The problem is most likely with jpackage itself. It would be interesting to see if you get the same error when building with jpackage 16-ea.

That's probably the only option for now.

@brunoborges Try this: set the environment variable `_JAVA_LAUNCHER_DEBUG` to `1` and then start the installed application from the terminal. For example: ``` set _JAVA_LAUNCHER_DEBUG=1 cd /Applications/helloworld.app ./Contents/MacOS/helloworld ``` You should...

I don't know why this happens. I couldn't reproduce the problem on my machine. I also tried building with 13.0.1+9 and executing with jdk-11.0.3+7 and vice versa, but I got...