-
Notifications
You must be signed in to change notification settings - Fork 137
Closed
Labels
bugSomething isn't workingSomething isn't workingfixedIssue fixed and release pendingIssue fixed and release pending
Description
I'm submitting a…
- bug report
- feature request
- other
Short description of the issue/suggestion:
When using winrun4j (or why) then the EXE does not start for me. Launch4J works.
What is the current behavior?
Lauch aborts with ClassNotFoundException.
When I edit the ini and add
classpath.2=libs\*.jar classpath.2=*.jar
it works .
Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
Output of the exe:
$ ./xpert-nba.exe
java.lang.ClassNotFoundException: de.intecsoft.mdkn.nba.App
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Unknown Source)
at WinRun4JLauncher.main(WinRun4JLauncher.java:8)
Working $name.ini:
main.class=WinRun4JLauncher
log.level=error
ini.override=true
classpath.1=libs\*.jar
classpath.2=*.jar
vm.location=jre\bin\server\jvm.dll
working.directory=.
vmarg.1=-Djava.library.path=""
[ErrorMessages]
java.not.found=A suitable version of Java could not be found on your system. Please contact intecsoft.
java.failed=Java failed to startup successfully. Please contact intecsoft.
Please tell us about your environment:
- JavaPackager version: 1.7.0
- OS version: Windows 10 64bit
- JDK version: 17
- Build tool:
- Maven
- Gradle
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfixedIssue fixed and release pendingIssue fixed and release pending