packr
moditect
Our great sponsors
packr | moditect | |
---|---|---|
12 | 10 | |
2,529 | 527 | |
0.2% | 1.7% | |
1.9 | 7.8 | |
8 days ago | 20 days ago | |
C++ | Java | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
packr
-
I created a Pixel Art Tycoon Game with Java
LibGDX has their own way of doing this: https://github.com/libgdx/packr
- What is best way to package a Java game with a JRE and uploading to steam? So the user does not need to install a JRE to play the game.
-
Creating an EXE / exporting project
Go to https://github.com/libgdx/packr, download a release on the releases page.
-
Brian Goetz: Paving the On-Ramp (To Java)
> they quickly realize they need Windows, and a Mac, and maybe Linux just to make packages that their friends can run
And when they test it on Windows they'll realize that the launcher that jpackage creates does something weird on startup (involving relaunching itself it seems?) that makes Windows display a busy cursor for a while after the program has launched, so they have to forget about jpackage and redo it all with something like Packr [1] and Wix# [2]...
- How to export libgdx project from intellij in Mac?
-
Can I use Processing Java to make Multiplayer games and put them on Steam?
You may also want to bundle a JVM with your game install so you don't have to rely on the user having Java installed. You can use libGDX-packr or jpackage for this. If you have any trouble, feel free to hit me up.
-
Methods for converting a .jar into an independent .exe?
Try packr: https://github.com/libgdx/packr
-
Is there a windows application that will let me create a MAC installer for my software?
Then see if this could work for you: https://github.com/libgdx/packr
-
Including Java JVM with my rust crate in a cross-platform way?
https://stackoverflow.com/questions/2258932/embed-a-jre-in-a-windows-executable has some suggestions, one of which is https://github.com/libgdx/packr if you embed your Rust library within a JAR
-
Create .exe, that runs independitly of java?
If you are on a lower version I have made good experiences with the packr tool.
moditect
-
Java Modules in Real Life
And then you have to use moditect to generate a module-info.java and this is again because the annotation processor will pick up the provides Processor with YourAnnotationProcessor.
-
Modularization (modular-info.java), maven, and testing misery
Maybe you've somehow missed https://maven.apache.org/plugins/maven-jlink-plugin/ https://github.com/moditect/moditect https://github.com/beryx/badass-jlink-plugin https://github.com/sormuras/testing-in-the-modular-world
-
JRE & JDK implementation mess
Yes, you are right. jlink does not work with automatic modules. But using that plugin https://github.com/moditect/moditect you can easily transform almost any java library into a named module. It is a shame there are libraries under development, that have not been adapted to the java modular system.
- Forking google
-
Minvio - a simple Java graphical app framework.
FWIW, I've had a lot more issues with reflective access when using GraalVM. Reflection is mainly a problem with modules if you forget to 'open' your modules which is easy to fix in many cases. There's also moditect if the library author still doesn't want to learn how to include a module-info in the legacy compatible jar.
-
javafx:jlink and itext to create self contained jar.
Thanks. I don't think iText has a modularized jar. Would it be possible to inject the modules into my jar, as per: https://stackoverflow.com/questions/47222226/how-to-inject-module-declaration-into-jar . Or maybe use moditect?
-
Persism 1.0.1 released - A zero ceremony ORM for Java
Or apply the https://github.com/moditect/moditect plugin and keep the build in JDK8. Let the plugin create the module descriptors without configuring JDK toolchains.
-
Java Modules - are they common and should we use them?
You can use the https://github.com/moditect/moditect maven plugin to add the module-info to the third-party jars
-
JPMS Migration Playground
The next solution, which is the one I'm writing about. Is to modularize foo's jar, this is easily accomplished using the moditect plugin. But it can be tricky since I don't have, nor do I need, bar, and I prefer doing most of the work in build time and not manually.
-
Distribution of JVM desktop applications
It's possible to add this information during one's build even though the procedure is error-prone and boring. The description on how to achieve this deserves a post on its own. For more information, please check this Oracle magazine article. Suffice to say here that it makes heavy use of the Moditect Maven plugin.
What are some alternatives?
Launch4j - A Maven plugin which wraps Launch4j
os-maven-plugin - A Maven plugin that sets various useful properties detected from ${os.name} and ${os.arch} properties.
JitPack - Documentation and issues of https://jitpack.io
badass-jlink-plugin - Create a custom runtime image of your modular application
IzPack - IzPack - Source Code
piranha - Piranha - a modern cloud runtime
really-executable-jars-maven-plugin - maven plugin for making chmod +x jar files
Permazen - Language-Natural Persistence Layer for Java
Capsule - Dead-Simple Packaging and Deployment for JVM Apps
Feather - Lightweight dependency injection for Java and Android (JSR-330)
Nexus - Sonatype Nexus Repository Open-source codebase mirror
avaje-inject - Dependency injection via APT (source code generation) ala "Server-Side Dagger DI"