Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5953095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:46:32+00:00 2026-05-22T17:46:32+00:00

Im trying to run launch4j as a build task on macosx but im getting

  • 0

Im trying to run launch4j as a build task on macosx but im getting the following exception:

/Users/myname/Desktop/build/buildarms2jar.xml:67: net.sf.launch4j.BuilderException: net.sf.launch4j.ExecException: java.io.IOException: Cannot run program "/Users/myname/Desktop/launch4j/launch4j/bin/windres": error=2, No such file or directory

the file paths are correct. I read that this may be a problem with running windres but I wasn’t able to find a solution for it. Does anyone know how to fix this?

Ant File:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project ARMS2 with Jar-in-Jar Loader">
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<property name="releasedest" value="../release/"/> 
<property name="data" value="../data/" />
<property name="config" value="../config/" />
<property name="launch4j.dir" location="../launch4j" />
<property name="version" value="1.0.0" />
<property name="textfileversion" value="1.0.0" />

<target name="create_run_jar">
    <jar destfile="${releasedest}test.jar">
        <manifest>
            <attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader"/>
            <attribute name="Rsrc-Main-Class" value="com.domain.RadialUIController"/>
            <attribute name="Class-Path" value="."/>
            <attribute name="Rsrc-Class-Path" value="./ worldwind.jar gluegen-rt.jar jogl.jar AnimatedTransitions-0.11.jar TimingFramework-1.0.jar commons-lang-2.5.jar commons-io-2.0.1.jar SiteMetaData.jar xbean.jar substance.jar trident.jar batik-awt-util.jar batik-dom.jar batik-svg-dom.jar batik-svggen.jar batik-util.jar batik-xml.jar icepdf-core.jar icepdf-viewer.jar ridl.jar unoloader.jar jurt.jar java_uno.jar juh.jar officebean.jar unoil.jar"/>
        </manifest>
    </jar>
</target>

<copy todir="${releasedest}">
    <fileset dir="${data}" />
</copy>
<copy todir="${releasedest}/config">
    <fileset dir="${config}" />
</copy>

<copy file="DataSetup.txt" todir="${releasedest}" />

<taskdef name="launch4j"
    classname="net.sf.launch4j.ant.Launch4jTask"
    classpath="${launch4j.dir}/launch4j/launch4j.jar
        :${launch4j.dir}/launch4j/lib/xstream.jar" />

<launch4j configFile="${launch4j.dir}/TestConfig.xml" jar="${releasedest}/test.jar" />

<copy file="test.exe" todir="${releasedest}" />

</project>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:46:33+00:00Added an answer on May 22, 2026 at 5:46 pm

    Well this is embarrassing…I had the wrong launch4j distribution….I downloaded the macosx distribution and it worked…..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to run my program through java web start. I get the following exception
I am trying to run the VS 2008 SP1 installer , but it says
I'm trying to run SQuirreL SQL. I've downloaded it and installed it, but when
I am trying run a batch file from my java codes, but unfortunately I
When trying to run this zest tutorial, I get the following error: The type
Im trying to run my project, but this error hits me everytime: org.springframework.web.context.ContextLoaderListener java.lang.NoSuchMethodError:
I'm trying to run a batch file, as another user, from my web app.
I'm trying to run some queries to get rid of XSS in our database
I'm trying to run a LINQ to SQL query that returns a result in
I'm trying to run a process and do stuff with its input, output and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.