veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

262
active users

#JDK

1 post1 participant0 posts today

Let's Take a Look at... JEP 483: Ahead-of-Time Class Loading & Linking! morling.dev/blog/jep-483-aot-c
#Java #jdk #jep483

www.morling.dev · Let's Take a Look at... JEP 483: Ahead-of-Time Class Loading & Linking! In the "Let’s Take a Look at…​!" blog series I am exploring interesting projects, developments and technologies in the data and streaming space. This can be KIPs and FLIPs, open-source projects, services, relevant improvements to Java and the JVM, and more. The idea is to get some hands-on experience, learn about potential use cases and applications, and understand the trade-offs involved. If you think there’s a specific subject I should take a look at, let me know in the comments below. Update March 28: This post is on being discussed Hacker News 🍊 Java 24 got released last week, and what a meaty release it is: more than twenty Java Enhancement Proposals (JEPs) have been shipped, including highlights such as compact object headers (JEP 450, I hope to spend some time diving into that one some time soon), a new class-file API (JEP 484), and more flexible constructor bodies (JEP 492, third preview). One other JEP which might fly a bit under the radar is JEP 483 ("Ahead-of-Time Class Loading & Linking"). It promises to reduce the start-up time of Java applications without requiring any modifications to the application itself, what’s not to be liked about that? Let’s take a closer look!

Dear Gradle, Why So Stubborn?
Do I do something wrong?

Watching juniors try to set up a project and being greeted by cryptic stack traces like it's some kind of initiation ritual.

`Unsupported class file major version 61`
`invalid CEN header zip64 no access package`, ...

Java can compile code for older versions just fine.
It's literally designed for that.
Oh why, must Gradle behave like a bitter librarian who refuses to hand over a book unless I whisper the exact Dewey Decimal Code?
Every other Language will laugh again at java, seeing this.

💡 Why is Gradle bound to a java version? And if Gradle knows it needs Java 11… why doesn't it just do this for me?
Like using `/usr/libexec/java_home -v 11` in background?

🤖 Is there a clean way to force Gradle into submission without adding another tool like SDKMAN or jabba or YunaBraska/gradle-java-fix or whatever the trendy painkiller of the week is?

☕ #Java developers and heavy users often unpack a JVM tarball somewhere (e.g. `/opt`) and do not need nor wish to install a Java package and its own dependencies from the Debian/Ubuntu/derivatives repository, only to satisfy another packages depending on it.

[This tiny deb](https://git.disroot.org/daltux/dummy-jdk-deb) simply declares that #JDK is available to the system, allowing you to install other packages that need Java.

🔄 I hope it can be useful! Please let me know.

🔗 https://git.disroot.org/daltux/dummy-jdk-deb

#Debian #Ubuntu #FreeSoftware #FreeAsInFreedom #FOSS #dev #Disroot

[ reposting here from @daltux ]
fe.disroot.orgFEDIsroot

By way of #introduction: I’m the Chief Architect of the Java Platform Group at Oracle. I’ve worked on every #Java / #JDK release since version 1.1, in 1997. You can blame me for character-stream readers/writers, reference objects, shutdown hooks, the NIO high-performance I/O APIs, service loaders, and modules. I currently lead the #Leyden and JDK Projects in the #OpenJDK Community, where I also serve on the Governing Board.

I’m also a Twitter refugee, now exploring the Fediverse via @ivory.