Giter Club home page Giter Club logo

Comments (5)

TheBoegl avatar TheBoegl commented on July 30, 2024

@mbachinger take a look at the documentation mentioning

<minVersion>, <maxVersion> format - Java >= 9
The new version format is xxx[.xxx[.xxx]] where only 1 part is required and the update version after the underscore is not allowed.

  • 1.6
  • 9
  • 10.0.1

from gradle-launch4j.

mbachinger avatar mbachinger commented on July 30, 2024

@TheBoegl
Thanks for the reply. I am not specifying the underscore or the portion after though. I have tried:

  • 11
  • 11.0
  • 11.0.5

I also tried setting the targetCompatibility since this overrides it.

Versions 9 and under work but 10 and 11 don't.

This is the createExe.xml being created before running into that error:

<?xml version='1.0' encoding='UTF-8'?>
<launch4jConfig>
  <dontWrapJar>false</dontWrapJar>
  <headerType>gui</headerType>
  <jar>lib/wdirclient-4.4.jar</jar>
  <outfile>wdirclient.exe</outfile>
  <errTitle></errTitle>
  <cmdLine></cmdLine>
  <chdir>.</chdir>
  <priority>normal</priority>
  <downloadUrl>http://java.com/download</downloadUrl>
  <supportUrl></supportUrl>
  <stayAlive>false</stayAlive>
  <restartOnCrash>false</restartOnCrash>
  <manifest></manifest>
  <icon>..\..\src\dist\favicon.ico</icon>
  <classPath>
    <mainClass>wdirclient.WesternDirectoryClient</mainClass>
    <cp>lib\wdirclient-4.4.jar</cp>
  </classPath>
  <jre>
    <path></path>
    <bundledJre64Bit>false</bundledJre64Bit>
    <bundledJreAsFallback>false</bundledJreAsFallback>
    <minVersion>11.0.0</minVersion>
    <maxVersion></maxVersion>
    <jdkPreference>preferJre</jdkPreference>
    <runtimeBits>64/32</runtimeBits>
  </jre>
  <versionInfo>
    <fileVersion>4.4.0.0</fileVersion>
    <txtFileVersion>4.4</txtFileVersion>
    <fileDescription>wdirclient</fileDescription>
    <copyright>unknown</copyright>
    <productVersion>4.4.0.0</productVersion>
    <txtProductVersion>4.4</txtProductVersion>
    <productName>wdirclient</productName>
    <companyName></companyName>
    <internalName>wdirclient</internalName>
    <originalFilename>wdirclient.exe</originalFilename>
    <trademarks></trademarks>
    <language>ENGLISH_US</language>
  </versionInfo>
</launch4jConfig>
<launch4jConfig>
  <dontWrapJar>false</dontWrapJar>
  <headerType>gui</headerType>
  <jar>lib/wdirclient-4.4.jar</jar>
  <outfile>wdirclient.exe</outfile>
  <errTitle></errTitle>
  <cmdLine></cmdLine>
  <chdir>.</chdir>
  <priority>normal</priority>
  <downloadUrl>http://java.com/download</downloadUrl>
  <supportUrl></supportUrl>
  <stayAlive>false</stayAlive>
  <restartOnCrash>false</restartOnCrash>
  <manifest></manifest>
  <icon>..\..\src\dist\favicon.ico</icon>
  <classPath>
    <mainClass>wdirclient.WesternDirectoryClient</mainClass>
    <cp>lib\wdirclient-4.4.jar</cp>
  </classPath>
  <jre>
    <path></path>
    <bundledJre64Bit>false</bundledJre64Bit>
    <bundledJreAsFallback>false</bundledJreAsFallback>
    <minVersion>11.0.0</minVersion>
    <maxVersion></maxVersion>
    <jdkPreference>preferJre</jdkPreference>
    <runtimeBits>64/32</runtimeBits>
  </jre>
  <versionInfo>
    <fileVersion>4.4.0.0</fileVersion>
    <txtFileVersion>4.4</txtFileVersion>
    <fileDescription>wdirclient</fileDescription>
    <copyright>unknown</copyright>
    <productVersion>4.4.0.0</productVersion>
    <txtProductVersion>4.4</txtProductVersion>
    <productName>wdirclient</productName>
    <companyName></companyName>
    <internalName>wdirclient</internalName>
    <originalFilename>wdirclient.exe</originalFilename>
    <trademarks></trademarks>
    <language>ENGLISH_US</language>
  </versionInfo>
</launch4jConfig>

from gradle-launch4j.

TheBoegl avatar TheBoegl commented on July 30, 2024

@mbachinger I've edited your answer to display your xml output as code block.
I'm unable to reproduce your error. Please provide a minimal reproducible example. Creating the executable with your provided xml works for me.

from gradle-launch4j.

mbachinger avatar mbachinger commented on July 30, 2024

@TheBoegl Changing the Launch4j version to 2.4.4 fixed the problem.

from gradle-launch4j.

TheBoegl avatar TheBoegl commented on July 30, 2024

@mbachinger Are you referring to this plugin in version 2.4.4 from 2018? To really help you please attach a failing project configuration or a link to a repository. I'm still unable to reproduce this issue.

from gradle-launch4j.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.