Class-Version-Patcher
jabel
Class-Version-Patcher | jabel | |
---|---|---|
1 | 9 | |
31 | 790 | |
- | - | |
0.0 | 3.5 | |
over 1 year ago | 3 months ago | |
Java | Java | |
MIT License | 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.
Class-Version-Patcher
-
What can I do with Java 1.4?
I made one (Before realizing it'd already been done) to backport newer language features to Java 8 and it was pretty easy to bundle it up as a maven plugin. But going back all the way to 4 will be a notable increase in difficulty. Retrolambda goes to 1.5 but not all the way to 4. You could hypothetically add a layer on top of it to support 1.5 -> 1.4. That or roll a fork of it.
jabel
-
What Are Senders Good For, Anyway?
Java has things like Jabel that let you use modern Java syntax and compile down to Java 8 for compatibility reasons.
https://github.com/bsideup/jabel
This is useful commercially, but also nice when building Minecraft mods for older versions of Minecraft.
-
How to use different Java versions for src/main/java and src/test/java in Maven
As for Java bytecode, you assume the differences are significant while in reality, they are not, as explained by the Jabel project:
-
What can I do with Java 1.4?
(Before realizing it'd already been done)
-
What's new in Java 18 for us, developers ?
If you want to use new language features (pattern matching, string templates, records etc.) then I highly recommend to take a look at https://github.com/bsideup/jabel
- Minecraft 1.18 Pre-Release 2: Minecraft 1.18 will require Java 17
-
What version should new Java libraries be written in?
I've never heard of somebody sticking to 9 or 10 as their primary JDK. AFAIK most people who could update waited for the 11 LTS. The rest of us are just stuck on 8. But we have some nice tricks.
-
Is it possible to any jre under 16 to recognise class ver 60 ?
https://github.com/bsideup/jabel - lets you use new Java syntax, because things like pattern matching are just syntatic sugar and dont change the class file specification
-
Eclipse Compiler supports -source 16 -target 8
I've found about the Jabel that tried to enable this feature in the Javac compiler.
- Are there byte code differences between different Java releases?
What are some alternatives?
native-build-tools - Native-image plugins for various build tools
Mixin - Mixin is a trait/mixin and bytecode weaving framework for Java using ASM
maven-git-versioning-extension - This extension will set project version, based on current Git branch or tag.
JGroups - The JGroups project
Functional Java - Backport of Java 8's lambda expressions to Java 7, 6 and 5
Spring - Spring Framework
JavaPackager - :package: Gradle/Maven plugin to package Java applications as native Windows, MacOS, or Linux executables and create installers for them.
guava - modular guava
jib - 🏗 Build container images for your Java applications.
lwjgl - [LEGACY] LWJGL 2.X - The Lightweight Java Game Library.
UniJ - Universal facade of JDK 9+ API, focused on Collection factory methods
jfx - JavaFX mainline development