jabel
Class-Version-Patcher
jabel | Class-Version-Patcher | |
---|---|---|
9 | 1 | |
790 | 31 | |
- | - | |
3.5 | 0.0 | |
3 months ago | over 1 year ago | |
Java | Java | |
Apache License 2.0 | MIT License |
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.
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?
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.
What are some alternatives?
Mixin - Mixin is a trait/mixin and bytecode weaving framework for Java using ASM
native-build-tools - Native-image plugins for various build tools
JGroups - The JGroups project
maven-git-versioning-extension - This extension will set project version, based on current Git branch or tag.
Spring - Spring Framework
Functional Java - Backport of Java 8's lambda expressions to Java 7, 6 and 5
guava - modular guava
JavaPackager - :package: Gradle/Maven plugin to package Java applications as native Windows, MacOS, or Linux executables and create installers for them.
lwjgl - [LEGACY] LWJGL 2.X - The Lightweight Java Game Library.
jib - 🏗 Build container images for your Java applications.
UniJ - Universal facade of JDK 9+ API, focused on Collection factory methods
jfx - JavaFX mainline development