Code Monkey home page Code Monkey logo

Comments (6)

code-disaster avatar code-disaster commented on August 28, 2024

Out of interest, what happens if you unpack and repack your JAR manually, using 7zip? Does it still run afterwards?

from packr.

shoon avatar shoon commented on August 28, 2024

Extracting and then creating the known-working jar with 7zip did not work. I tried all compression levels from Store to Ultra with no successful result, Here's my environment:

  • 7-Zip 16.02 (64-bit)
  • JDK/JRE 1.8u101

from packr.

code-disaster avatar code-disaster commented on August 28, 2024

I do not know how Capsule works, but this sounds like this is creating some non-trivial JAR archive. My only idea so far is to add a packr option to opt out of the step of un-/re-packing the JAR. This is only done right now to delete native libraries not matching the target platform.

from packr.

shoon avatar shoon commented on August 28, 2024

I think that would be a valid option.

from packr.

stolp avatar stolp commented on August 28, 2024

Capsule uses System.exit() when the wrapped program terminates. This may be reason for the abrupt termination you notice here.

Please have a look at puniverse/capsule#107 for more details.

from packr.

karlsabo avatar karlsabo commented on August 28, 2024

Packr shouldn't repackage your JAR file unless you specified removelibs, e.g. --removelibs myapp.jar. Please try the latest version of packr and create a new issue if you're still running into issues.

from packr.

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.