Activity for Launch4j Executable Wrapper

  • Anthony Jacobs Anthony Jacobs posted a comment on discussion Help

    We have used Launch4j to create executable files for our jars for a number of years. Recently we have started changing our build pipeline to use Azure DevOps within our organisation, which involves additional security checks. This has resulted in a number of issues with executable files being flagged: • Files are not build with /GS (Buffer Security Check) • Files are not linked with /LARGEADDRESSAWARE (Handle Large Addresses) • Files are not linked as position independent code These seem to be C++...

  • barry mcgillin barry mcgillin posted a comment on merge request #25

    Hi Grzegorz, Can you take a look at Han's change. We want to support JPMS with launch4j Can you let me know if there are any issues with this transaction. B

  • Han Shum Han Shum created merge request #25 on Git

    Add support for java module.

  • Jeffrey Holt Jeffrey Holt modified a comment on ticket #237

    After my tests with jdk 23, I think there is a java for windows bug that manifests only when JNI_CreateJavaVM starts the JVM. I don't see a problem when the java command starts the JVM. I think the java command main is handling the bounding characters correctly. I think a reasonable workaround for the bug is to strip bounding characters (if they're used) before calling JNI_CreateJavaVM in jnihead.c. I also looked in the "git log -p" output that extends all the way back to 2006. I see no reference...

  • Jeffrey Holt Jeffrey Holt modified a comment on ticket #237

    After my tests with jdk 23, I think there is a java for windows bug that manifests only when JNI_CreateJavaVM is how a JVM is started. I don't see a problem when the java command starts the JVM. I think the java command main is handling the bounding characters correctly. I think a reasonable workaround for the bug is to strip bounding characters (if they're used) before calling JNI_CreateJavaVM in jnihead.c. I also looked in the "git log -p" output that extends all the way back to 2006. I see no...

  • Jeffrey Holt Jeffrey Holt modified a comment on ticket #237

    After my tests with jdk 23, I think there is a java for windows bug that manifests only when JNI_CreateJavaVM is how a JVM is started. I don't see a problem when the java command starts the JVM. I think the java command main is handling the bounding characters correctly. I think a reasonable workaround for the bug is to strip bounding characters (if they're used) before calling JNI_CreateJavaVM in jnihead.c.

  • Jeffrey Holt Jeffrey Holt modified a comment on ticket #237

    After my tests, I think there is a java for windows bug that manifests only when JNI_CreateJavaVM is how a JVM is started. I don't see a problem when the java command starts the JVM. I think the java command main is handling the bounding characters correctly. I think a reasonable workaround for the bug is to strip bounding characters (if they're used) before calling JNI_CreateJavaVM in jnihead.c.

  • Jeffrey Holt Jeffrey Holt posted a comment on ticket #237

    After my tests, I think there is a java for windows bug that manifests only when JNI_CreateJavaVM. I think a reasonable workaround for the bug is to strip bounding characters (if they're used) before calling JNI_CreateJavaVM in jnihead.c.

  • Jeffrey Holt Jeffrey Holt created ticket #237

    Ticket 232 (JAVA_TOOLS_OPTIONS bug) was not properly fixed nor was it closed

  • Jeffrey Holt Jeffrey Holt modified a comment on ticket #232

    With version 3.50, I have no problem if apostrophes are used but I do have a problem when quotes are used. Of course, neither apostrophes nor quotes are necessary but some people don't care. This works in 3.50 set JAVA_TOOL_OPTIONS='something in the way' This also works in 3.50 but it's DOS insanity set JAVA_TOOL_OPTIONS=something in the way This does not work in 3.50 set JAVA_TOOL_OPTIONS="something in the way"

  • Jeffrey Holt Jeffrey Holt modified a comment on ticket #232

    With version 3.50, I have no problem if apostrophes are used but I do have a problem when quotes are used. Of course, neither apostrophes nor quotes are necessary but some people don't care. These work in 3.50 set JAVA_TOOL_OPTIONS='something in the way' This also works in 3.50 but it's DOS insanity set JAVA_TOOL_OPTIONS=something in the way This does not work in 3.50 set JAVA_TOOL_OPTIONS="something in the way"

  • Jeffrey Holt Jeffrey Holt posted a comment on ticket #232

    With version 3.50, I have no problem if apostrophes are used but I do have a problem with quotes are used. Of course, neither apostrophes nor quotes are necessary but some people don't care. These work in 3.50 set JAVA_TOOL_OPTIONS='something in the way' This also works in 3.50 but it's DOS insanity set JAVA_TOOL_OPTIONS=something in the way This does not work in 3.50 set JAVA_TOOL_OPTIONS="something in the way"

  • R. Schmunk R. Schmunk posted a comment on ticket #236

    Cripes, one more thing. After fixing the EOL characters on the top-level launch4j shell script, don't forget to turn the execute permissions back on.

  • R. Schmunk R. Schmunk posted a comment on ticket #236

    Adding that I ran into the problem with windres and ld before as described in #215, but control-click to manage the permissions, but that doesn't work with the Sonoma M1 Mac I'm now using.

  • R. Schmunk R. Schmunk created ticket #236

    3.50 on macOS

  • Jim Starkey Jim Starkey created ticket #235

    Does work with command line argument on Win11

  • marek marek posted a comment on discussion Open Discussion

    Hi all, recently I had some issue related to Launch4j enabled application. I did some digging and learned some useful stuff. The issue: running java -jar some_app.jar works just fine, but double click on some_app.exe does not work, the Launch4j enabled exe tells me that I need at least Java 1.8 in order to work correctly, but I have Java 21 already working fine. Steps to reproduce: * Install computer with Windows. I have Windows Server 2022 x64 10.0.20348.2762. * Realize that Java is not included,...

  • rednoah rednoah created ticket #148

    Support for Windows (arm64)

  • Solerman Kaplon Solerman Kaplon posted a comment on ticket #219

    Post java-8 the java executable doesn't allow to be presented as another exe name, that's not a limitation in launch4j itself

  • Marcus Widerberg Marcus Widerberg posted a comment on ticket #234

    Hello Gregorz, thankyou for your sympathetic reply. Yes, I will see if I can devise a way to launch freeplane using a bat file instead. Corporate IT landscape citizenship can be so frustrating! BR! /marcus

  • Grzegorz Kowal Grzegorz Kowal posted a comment on ticket #234

    Hi, This is a big problem for open source projects which usually cannot afford to sign the executables - this would improve the chances of not getting a false positive. One option (which can be blocked for you) is to add an exception to Cylance. The other is to use the batch file instead in order to run Freeplane. Best regards, Grzegorz On Wed, Jun 26, 2024, 12:37 Marcus Widerberg mawi@users.sourceforge.net wrote: [bugs:#234] https://sourceforge.net/p/launch4j/bugs/234/ Cylance blocks execution and...

  • Marcus Widerberg Marcus Widerberg created ticket #234

    Cylance blocks execution and quarantines freeplane, using launch4j

  • Nagasree Golla Nagasree Golla posted a comment on discussion Open Discussion

    Hi, I am writing to inquire about a specific feature of Launch4j. I am currently using your tool to build Java executables and have been very pleased with its functionality. However, I have a particular requirement and would like to know if Launch4j supports it. Specifically, I am interested in changing the name displayed in the Task Manager from the default "Java Runtime" to a custom name that corresponds to our application's name. This feature would greatly enhance the user experience and provide...

  • Jonathan Coffman Jonathan Coffman posted a comment on ticket #231

    I am experiencing this as well. A recent upgrade to using Launch4j 3.50 is causing the program to fail to launch on some windows systems. adding the debug logging fails to produce output: Faulting application name: launcher.exe, version: 8.1.33.0, time stamp: 0x65319598 Faulting module name: msvcrt.dll, version: 7.0.19041.3636, time stamp: 0x7e27562f Exception code: 0xc0000409 Fault offset: 0x00086870 Faulting process id: 0x3700 Faulting application start time: 0x01da32b4ce513764 Faulting application...

  • unifier unifier posted a comment on ticket #233

    Hi Grzegorz, thank your answer. We are using a certificate from GlobalSign. First we create the exe with launch4j then we sign it with Microsoft signtool. When showing the details for the exe Windows shows a tab "Signatures" which reports a valid certificate just fine. The exe file created with launch4j is a pure launcher. It does not contain any jars just like you suggested. All the best SSC Von: Grzegorz Kowal grzegok@users.sourceforge.net Gesendet: Samstag, 27. April 2024 11:11 An: [launch4j:bugs]...

  • Grzegorz Kowal Grzegorz Kowal posted a comment on ticket #233

    Hi, Are you using a self signed certificate for signing your jar or one from a CA? In case of launch4j itself this is a self signed one. Such heuristic based false positives are difficult to overcome, I'd suggest using a CA certificate and also consider not wrapping the jar but having the launcher executable as a separate file. Best regards, Grzegorz On Fri, Apr 26, 2024, 11:15 Stefan Schröder ssc9632134@users.sourceforge.net wrote: [bugs:#233] https://sourceforge.net/p/launch4j/bugs/233/ Virus Total...

  • Stefan Schröder Stefan Schröder created ticket #233

    Virus Total detections in 3.50 - false positives - Jiangmin/Zillya - worgtop

  • Alexander Aumann Alexander Aumann created ticket #232

    3.5 crash with JAVA_TOOL_OPTIONS containing quotes

  • Cerera Cerera posted a comment on discussion Help

    I'm new to development and wanted to ask a question about the launch4j open source library. I have a need to use your open source code. Let's say I have this line of code: File file=new File(myfile.jar); . Can I convert this jar file to exe file and add jdk21?! The problem is how to do this with code and not with graphical application. I ask you to help me work on my project. I took the code for your classes by downloading the launch 4j application from the official website and found a jar with all...

  • Infinite Blue Infinite Blue posted a comment on discussion Open Discussion

    Funny enough, as part of my launch4j config, I already set the -Djava.library.path option for my application to a location that does not include the executable file. I don't think I can get any earlier than that, but I guess it depends on when the JVM processes the command line options. I just find it weird that the problem in my case is only reproducible with the splash screen option configured, and does not reproduce if I don't have the splash screen configured.

  • Lilianne E. Blaze Lilianne E. Blaze created merge request #24 on Git

    Added switch-to-ant task in build.xml

  • Lilianne E. Blaze Lilianne E. Blaze posted a comment on discussion Open Discussion

    It would help if you wrote something about your configuration, I'm using L4j with Java 21 with no problems.

  • Lilianne E. Blaze Lilianne E. Blaze posted a comment on discussion Open Discussion

    Try setting " java.library.path" System property to where your lib is supposed to be very early during the program start, before any class that can directly or indirectly access that lib gets loaded. I had a similar problem in GraalVM - it crashed when glass.dll was on the path. https://github.com/gluonhq/substrate/issues/1190 https://github.com/gluonhq/scenebuilder/pull/358/files

  • Dimitry Polivaev Dimitry Polivaev created merge request #23 on Git

    Launcher should remove JVM options rejected by old JVM versions

  • Lilianne E. Blaze Lilianne E. Blaze created merge request #22 on Git

    Small fixes in .rc output

  • Richard Richard modified a comment on discussion Help

    OK for those who are also new to this like me.... The solution can be ... In launch4j JRE add a path like "jre8/bin". However the JRE is not bundled! So just copy the JRE into the directory jre8 with jre8/bin pointing to java.bin. Note this must be relative to your *.exe file. So zip your exe with jdk content in one file and deliver this .....

  • Richard Richard posted a comment on discussion Help

    OK for those who are also new to this like me.... The solution can be ... In launch4j JRE add a path like "jre8/bin". However the JRE is not bundled! So just copy the JRE into the directory jre8 with jre8/bin pointing to java.bin. Note this must be relative to your *.exe file.

  • Richard Richard posted a comment on discussion Help

    I have tried all different solutions posted on stackoverflow and elsewhere but I am still stuck. I want to bundle my small jar-application with jre 17.xxx 32-bit from adoptium. It runs well on my machine that has Java installed. My Pc without Jave always answers "This application requires a Java Runtime 1.8.0. Most support was found for launch4j 3.11 with directories etc. Log is ... Version: 3.50 CmdLine: Z:\MAKEAlarmPlan\make\MakeAlarmplan.exe --l4j-debug JNI: No WOW64: Yes Working dir: Z:\MAKEAlarmPlan\make\....

  • Jon Barrilleaux Jon Barrilleaux posted a comment on discussion Help

    For whatever reason I am unable to bundle some of the native libraries (i.e. dll's) into an executable jar. Instead they must reside alongside the jar, in the same directory. I would like to bundle the jar and the resources into a launch4j executable so that I can distribute a single executable file. How do I bundle resources alongside an executable jar in a launch4j executable?

  • Dave Dyer Dave Dyer modified a comment on discussion Help

    Using sign4j on a binary just created with launch4j, I'm getting "unsupported operation" after the signing (apparently) succeeded. Looking at the source code, this error probably might mean the signature was longer than expected. I'd like to try rebuilding sign4j with a larger "max size" parameter, but there seem to be no instructions for or project for building sign4j BTW, I previously use sign4j successfully with my (now expired) certificate, so the new certificate is the main variable in the equation....

  • Dave Dyer Dave Dyer posted a comment on discussion Help

    Using sign4j on a binary just created with launch4j, I'm getting "unsupported operation" after the signing (apparently) succeeded. Looking at the source code, this error probably might mean the signature was longer than expected. I'd like to try rebuilding sign4j with a larger "max size" parameter, but there seem to be no instructions for or project for building sign4j BTW, I previously use sign4j successfully with my (now expired) certificate, so the new certificate is the main variable in the ...

  • Jon Barrilleaux Jon Barrilleaux posted a comment on discussion Help

    I created an executable jar file bundled with JOGL, then wrapped the jar into a windows executable using Launch4j in order to pass runtime java parameters. If I run the jar from a command prompt with the parameters I get no errors. If instead I run the Launch4J executable I get the errors shown below, but the application nevertheless runs properly, displaying the correct graphics. So, the problem seems to lie with the Launch4J executable and not the executable jar. Is there someway to prevent the...

  • Infinite Blue Infinite Blue posted a comment on discussion Open Discussion

    Apologies for the delay, but at the very least I can now point to where the problem appears to be coming in from. Our configuration is using the launch4j-maven-plugin to perform the final Launch4j wrapping of the JAR file. We're using standard GUI mode (<headertype>gui</headertype>) with a splash screen. We are using the WinDPAPI4j library during startup to decrypt an encrypted string. During testing, one of our testers found that it was possible to create a dummy DLL file alongside the application...

  • Francis ANDRE Francis ANDRE posted a comment on discussion Help

    Hello launch4j people I am trying to add fixed constant argument to a Windows executable by adding a <cmdline>-PATH foo</cmdline> element but it has effect. So I am wondering what's wrong in this element or usage? Thanks.

  • Grzegorz Kowal Grzegorz Kowal posted a comment on discussion Open Discussion

    Hi, If the DLL is present, the application crashes before it has a chance to report on it. This DLL is expected to be loaded based on the java application's use of the WinDPAPI4j library, though I'd have expected the JVM to make the request rather than the wrapped executable. If you are using the launch4j JNI wrapper then the JVM instance is created within the wrapped executable process, so it does make sense that you see that this executable is trying to gain access. The wrapper itself loads only...

  • Infinite Blue Infinite Blue posted a comment on discussion Open Discussion

    I'm currently looking into an issue with our launch4j wrapped application where one of the DLLs that is brought in by a library in our application (cryptbase.dll) appears to be vulnerable to a DLL injection attack. If we place a file named cryptbase.dll alongside the launch4j generated EXE file, the application crashes before any loading is done showing that it's pulled in the "malicious" DLL. (In this case, this DLL was provided to me as a test case for demonstrating a DLL hijacking issue.) However,...

  • Miroslav  Tičar Miroslav Tičar posted a comment on discussion Open Discussion

    I can not make an EXE file for project with Java JRE greater then 11. What seams to be a problem. Thanks.

  • Grzegorz Kowal Grzegorz Kowal posted a comment on discussion Open Discussion

    Yes, launch4j creates only Windows executables but allows to create them on different platforms. Grzegorz

  • Gerard MARTINELLI Gerard MARTINELLI posted a comment on discussion Open Discussion

    OK I'll look at it. thanks

  • Andreas Kuhtz Andreas Kuhtz posted a comment on discussion Open Discussion

    Hello, You can use https://github.com/perdian/macosappbundler-maven-plugin to create an app on MacOS. Cheers, Andreas

  • Gerard MARTINELLI Gerard MARTINELLI posted a comment on discussion Open Discussion

    When I tried to execute Launch4j to create my bundle under OS X, for the output file extension must be .exe instead .app. Does this means the package are always created for windows even on a MAC plateform ? Thanks for tour comments

  • Grzegorz Kowal Grzegorz Kowal posted a comment on discussion Open Discussion

    I'm glad it worked. Grzegorz

  • Gerard MARTINELLI Gerard MARTINELLI posted a comment on discussion Open Discussion

    Thanks a lot Grzegorz for this answer. This solves my problem since it works. Now I have just testing all this stuff thanks again Gerard

  • Grzegorz Kowal Grzegorz Kowal posted a comment on discussion Open Discussion

    Hi Gerard, The only prerequisite is a Java Runtime Environment, otherwise the installation package contains everything. Are you running it by the shell script or jar file? Please try: Java -jar launch4j.jar to rule out problems with the script. Unfortunately I don't have Mac OS X so it's difficult for me to say more. I'm not sure if the system expects the jar to be signed. In Windows there is a mechanism that prevent execution of extracted files if the zip was marked as coming from unsafe source...

  • Gerard MARTINELLI Gerard MARTINELLI posted a comment on discussion Open Discussion

    Hello, First I have to confess that I am pretty new on UNix platforms and espacially on OS X; I'm used to create bundles with launch4j on windows, and this for many years without any problem (I love it). Today I tried to do same on my Macbook Pro. Therefore I dowloaded the product from sourceforce et unziped launch4j.trz (maybe not the right term) without any problem. When I tried to start the launch4j application I got the message saying that it cannot be executed because it was not identified after...

  • Grzegorz Kowal Grzegorz Kowal posted a comment on discussion Help

    It seems you're looking for help in the wrong project. This is the launch4j project, not License4j. Grzegorz

  • Reid Caspary Reid Caspary posted a comment on discussion Help

    I am having to issue licenses for our equipment software running on our field computers, and my newly purchased product key that was sent to me to extend our license for another year does not work. I am at my wits end over here trying everything I can do to turn this thing back on-- I have read all the License4J documents cover to cover. My install is not corrupted as best I can tell as I was able to issue licenses by using a trial version/ temporary activation. The trial has expired, and I am shut...

  • Grzegorz Kowal Grzegorz Kowal posted a comment on discussion Help

    What is the question regarding licensing? --Grzegorz On Wed, Aug 30, 2023, 19:56 Reid Caspary reidcaspary@users.sourceforge.net wrote: In need of immediate help with licensing for this program. We have sent multiple emails without any response. Please help. License Help https://sourceforge.net/p/launch4j/discussion/332684/thread/30edd13854/?limit=25#673e Sent from sourceforge.net because grzegok@users.sourceforge.net is subscribed to https://sourceforge.net/p/launch4j/discussion/332684/ To unsubscribe...

  • Reid Caspary Reid Caspary posted a comment on discussion Help

    In need of immediate help with licensing for this program. We have sent multiple emails without any response. Please help.

  • Patrice Mancini Patrice Mancini created ticket #147

    Error File locked during exe generation - Antivirus

  • larsen255 larsen255 posted a comment on ticket #146

    See https://launch4j.sourceforge.net/docs.html#Configuration_file -> "Required element that groups JRE settings." You should set it to "<path>%JAVA_HOME%;%PATH%</path>"

  • Grzegorz Kowal Grzegorz Kowal posted a comment on discussion Open Discussion

    Hi, I think I have set the maximum length based on documentation or the header files. The docs are not clear, at least I can't find the answer on my phone ;) But the limit is imposed by Windows, I'd have to check once I have access to my computer. BR, Grzegorz On Mon, Jul 10, 2023, 10:45 Jamie Burns mkgarnek@users.sourceforge.net wrote: Hi. I have an original filename that exceeds the maximum of characters hardcoded in VersionInfo.checkInvariants. Why is the limit 50 characters? Can this be configurable...

  • Jamie Burns Jamie Burns posted a comment on discussion Open Discussion

    Hi. I have an original filename that exceeds the maximum of characters hardcoded in VersionInfo.checkInvariants. Why is the limit 50 characters? Can this be configurable rather than invariant? Thanks

  • Marijus Marijus modified a comment on ticket #146

    the Launch4j does work with Java 17, but when I tried to create an installer from the jre I had an error saying that the jre is not found. It might have been my fault that the jre is not found, but I would like to see the error message include where it tried to search for and some healthful suggestions for the fix.

  • Marijus Marijus modified a comment on ticket #146

  • longfeibai longfeibai posted a comment on discussion Open Discussion

    使用launch4j打包exe为什么进程名称显示java(TM) platfoem SE binary,该如何修改运行时的进程名称和图标而不是显示java(TM) platfoem SE binary名称,打包出的程序永远是32位为什么?如何才能打包成64位的程序。谢谢

  • longfeibai longfeibai posted a comment on discussion Help

    使用launch4j打包exe为什么进程名称显示java(TM) platfoem SE binary,该如何修改运行时的进程名称和图标而不是显示java(TM) platfoem SE binary名称,打包出的程序永远是32位为什么?如何才能打包成64位的程序。谢谢

  • Marijus Marijus posted a comment on ticket #146

    the problem is fixed, this ticket can be closed

  • Marijus Marijus created ticket #146

    Java 17 support

  • Joel Uckelman Joel Uckelman created ticket #231

    Executables from 3.50 crash on 64-bit system

  • Joel Uckelman Joel Uckelman created ticket #145

    Executables from 3.50 crash on 64-bit system

  • Joel Uckelman Joel Uckelman created ticket #230

    isPathJavaVersionGood defined but not declared in header

  • Jan Lochman Jan Lochman posted a comment on discussion Help

    Just downloaded a version for Linux-x64, it came with an error message bad interpreter: No such file or directory. That points to the DOS-like line ending \r\n, while Linux machines accept just \n. So it would be nice if the script in the package has a correct ending for Linux machines. Meanwhile Linux owners may fix this problem by downloading dos2unix utility and convert it to the right format via dos2unix launch4j.

  • Václav Haisman Václav Haisman posted a comment on ticket #144

    This is the same as #122.

  • Václav Haisman Václav Haisman created ticket #144

    allow .ini or other configuration file to specify both JVM and application options

  • Pete Flugstad Pete Flugstad posted a comment on discussion Help

    As I noted in my message, I'm already using 3.50: So the first weirdness is the Version string at the top reporting 3.14 - I've triple checked that I have 3.50 installed. Is this a bug? I do not have 3.14 installed anywhere (that I can find), but the launch4j logs still seems to be reporting 3.14. Another developer is seeing the same behavior.

  • Grzegorz Kowal Grzegorz Kowal posted a comment on discussion Help

    Hi, You need to update to the latest version of Launch4j which supports such search. Previously this was possible only for runtimes that had proper registry settings. BR, Grzegorz On Thu, Mar 23, 2023, 00:08 Pete Flugstad peteflugstad@users.sourceforge.net wrote: I have two JVMs installed, both in my PATH, with the 32-bit version first: C:\dev\sim>where java C:\rw_apps\Oracle-jdk1.8.0_181_x86\bin\java.exe C:\rw_apps\Adoptium-jdk-8.0.362.9-hotspot-x64\bin\java.exe For JNI reasons, I sometimes need...

  • Pete Flugstad Pete Flugstad posted a comment on discussion Help

    I have two JVMs installed, both in my PATH, with the 32-bit version first: C:\dev\sim>where java C:\rw_apps\Oracle-jdk1.8.0_181_x86\bin\java.exe C:\rw_apps\Adoptium-jdk-8.0.362.9-hotspot-x64\bin\java.exe For JNI reasons, I sometimes need to run the 32-bit JVM. But for most programs I want the 64-bit version. In my launch4j xml file I have: <jre> <path>%JAVA_HOME%;%PATH%</path> <requires64bit>true</requires64bit> <minversion>8</minversion> <maxversion>9</maxversion> </jre> No matter what I try and...

  • Steffen Kühn Steffen Kühn posted a comment on discussion Help

    Sorry for the double post...

  • Steffen Kühn Steffen Kühn posted a comment on discussion Help

    Good Morning Grzegorz, I am sorry - but I do not understand what you mean with launch4j header... I was using version 3.14 of Launch4j previously and now I wanted to switch to 3.50 - but I am missing the "32-Bit only" mode in the new version. I attached two screenshots which maybe better describe my problem. (Background: For may java program it is mandantory that a 32-Bit JRE is available because the launched java program will call a 32-Bit DLL later, which is only possible with a 32-Bit JRE...)....

  • Steffen Kühn Steffen Kühn posted a comment on discussion Help

    Good Morning Grzegorz, I am sorry - but I do not understand what you mean with launch4j header... I was using version 3.14 of Launch4j previously and now I wanted to switch to 3.50 - but I am missing the "32-Bit only" mode in the new version. I attached two screenshots which maybe better describe my problem. (Background: For may java program it is mandantory that a 32-Bit JRE is available because the launched java program will call a 32-Bit DLL later, which is only possible with a 32-Bit JRE...)....

  • Grzegorz Kowal Grzegorz Kowal posted a comment on discussion Help

    Hi Steffen, Which launch4j header are you using the classic one or JNI? Best regards, Grzegorz On Mon, Feb 27, 2023, 14:29 "Steffen Kühn" macktheknife82@users.sourceforge.net wrote: Hello Launch4j community, I have the special use case that a 32-bit version of Java is mandatory (because the Java application communicates with a 32-bit DLL via JNI). In my previous Launch4j version (3.14) there was a switch "32-bit only". In the new Launch4j version (3.50) there seems to be only one switch to force...

  • Grzegorz Kowal Grzegorz Kowal posted a comment on ticket #229

    Hi Eugene, I did not forget, I just could not find the time this week. I will look at this problem as soon as I have a moment. Best regards, Grzegorz On Sat, Feb 18, 2023, 10:57 Eugene Zrazhevsky incrediblebd@users.sourceforge.net wrote: Hello! Any updates? Any help needed? [bugs:#229] https://sourceforge.net/p/launch4j/bugs/229/ Launcher hides specific symbols from bundled jar* Status: open Group: 3.x Labels: arguments jni unicode Created: Tue Feb 07, 2023 07:20 PM UTC by Eugene Zrazhevsky Last...

  • Steffen Kühn Steffen Kühn posted a comment on discussion Help

    Hello Launch4j community, I have the special use case that a 32-bit version of Java is mandatory (because the Java application communicates with a 32-bit DLL via JNI). In my previous Launch4j version (3.14) there was a switch "32-bit only". In the new Launch4j version (3.50) there seems to be only one switch to force a 64-bit Java version. Thanks for your help. Many greetings, Steffen

  • Eugene Zrazhevsky Eugene Zrazhevsky posted a comment on ticket #229

    Hello! Any updates? Any help needed?

  • Eugene Zrazhevsky Eugene Zrazhevsky posted a comment on ticket #229

    Hello! Sorry, actually not. Using just gui mode. Appending my plugin config, I guess it can answer most questions and help to reproduce the problem: <plugin> <groupId>com.akathist.maven.plugins.launch4j</groupId> <artifactId>launch4j-maven-plugin</artifactId> <version>2.3.2</version> <configuration> <dontWrapJar>false</dontWrapJar> <headerType>gui</headerType> <jar>${project.build.directory}/${project.name}.jar</jar> <outfile>${project.build.directory}/${project.name}.exe</outfile> <chdir>.</chdir>...

  • Grzegorz Kowal Grzegorz Kowal posted a comment on ticket #229

    Hello, I will check if I can reproduce this problem. Does it happen when you use launch4j JNI header? Grzegorz On Tue, Feb 7, 2023, 20:20 Eugene Zrazhevsky incrediblebd@users.sourceforge.net wrote: [bugs:#229] https://sourceforge.net/p/launch4j/bugs/229/ Launcher hides specific symbols from bundled jar* Status: open Group: 3.x Labels: arguments jni unicode Created: Tue Feb 07, 2023 07:20 PM UTC by Eugene Zrazhevsky Last Updated: Tue Feb 07, 2023 07:20 PM UTC Owner: nobody Hello! Have found a bug...

  • Eugene Zrazhevsky Eugene Zrazhevsky created ticket #229

    Launcher hides specific symbols from bundled jar

  • Loic Decloedt Loic Decloedt posted a comment on ticket #212

    Hi all, I indeed experienced the same problem. I tested this case on purpose as this was something we already saw in the past. I am happy this has already been detected. This is a mandatory feature to adopt Launch4J. By doing internal investigations we found a stackoverflow page that explains the root cause on windows and how it can be solved: https://stackoverflow.com/questions/53218984/how-can-i-avoid-the-windows-exec-and-spawn-functions-splitting-arguments-at/53220680#53220680 Cheers, Loïc.

  • Uwe Mock Uwe Mock created ticket #228

    Error during Maven build

  • Grzegorz Kowal Grzegorz Kowal committed [c48081]

    FR #143 Added modular jar example.

  • Grzegorz Kowal Grzegorz Kowal modified ticket #143

    Make the jar attribute optional

  • Grzegorz Kowal Grzegorz Kowal modified a comment on ticket #143

    Hi Loïc, Sure, this is not a big deal to change. I've edited my comment, as I think you mean that the jar option does not work any longer with JPMS jar. Best regards, Grzegorz

  • Grzegorz Kowal Grzegorz Kowal posted a comment on ticket #143

    Hi Loïc, Sure, this is not a big deal to change. Especially that I am a big fan of shiping the JRE with the program, as it solves so many problems. I even thought it would be a good idea for the launch4j installer to work this way, also as a good example. Although I don't think that the statement regarding removal of jar option in version 11 is correct (as a standalone option), this is still supported in version 17. I will drop a note here regarding progress. Best regards, Grzegorz

  • Grzegorz Kowal Grzegorz Kowal modified ticket #143

    Make the jar attribute optional

  • Loic Decloedt Loic Decloedt posted a comment on ticket #143

    Hi all, Just to provide more highlights on the base motivation, I provide a link to a StackOverflow page: https://stackoverflow.com/questions/66818887/java-modules-and-the-jar-manifest-class-path-attribute This mentions that one have two way to start a Java application with JDK 9+. Either you use the '-jar APP.jar' flag or the -m MODULE flag. With the first option, you disable all features related to the newly introduced Java Platform Module System, JPMS also known as Jigsaw. We worked hard to switch...

  • Grzegorz Kowal Grzegorz Kowal posted a comment on ticket #225

    Thanks Antonin, I have merged your fixing pull request, updated the binary form and merged the branch to master. However after deleting the feature branch when I try to open the merge request I get 500 error and cannot close it. Will check later again. Best regards, Grzegorz

  • Grzegorz Kowal Grzegorz Kowal modified ticket #225

    Make *.l4j.ini file configurable

  • Grzegorz Kowal Grzegorz Kowal committed [5d52ee]

    Updated chlog.

1 >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.