Skip to main content
9 votes
1 answer
226 views

Prelude Java 24 introduced Stream Gatherers as a full-fledged feature. These Gatherers allow the user to declare custom intermediate operations on streams; also, the standard library provides a few ...
xtay2's user avatar
  • 988
10 votes
2 answers
427 views

I'm trying to retrieve GetLastError code on LoadLibraryW failure via Linker.Option.captureCallState. According to the documentation and this issue on JDK Bug System, captureCallState is the preferred ...
Iceyey Chuiskell's user avatar
1 vote
1 answer
93 views

I try to update java version from 22 to 23. We work with off-heap memory: val intVh = MemoryLayout .sequenceLayout( Long.MaxValue / ValueLayout.JAVA_INT.byteSize(), ValueLayout....
Person Person's user avatar
0 votes
1 answer
238 views

So I am trying to build a really small docker image, where I can run my java codes with latest version. I have tried with ubuntu, but I really want to play with alpine. So I wrote the following ...
Maifee Ul Asad's user avatar
6 votes
2 answers
312 views

I'm playing with the new Foreign Function API. I followed the example in JEP 454, showed in the description section. I tried using qsort instead of radix sort. Unfortunately, the document doesn't ...
SGiux's user avatar
  • 873
1 vote
0 answers
49 views

I've been trying to run some load testing scripts through JMeter, but I keep running into this error: Cannot create JDBC driver of class 'com.microsoft.sqlserver.jdbc.SQLServerDriver' for connect URL ...
Sharon Leo's user avatar
0 votes
1 answer
126 views

I am trying to set up access to use WebRTC lib binding or to use JExtract, but whenever I run the tool on the webrtc/src/api/ files folder, I get an error. Yes, I have done all the points to cle.exe ...
kinsley kajiva's user avatar
0 votes
2 answers
304 views

I want to work with Eclipse and jdk 22 with JAXB to compile an xsd schema in order to generate the java classes. I don't have a Maven installation except the one built into Eclipse itself. To do this ...
Alberto 's user avatar
1 vote
1 answer
314 views

I'm exploring Java Stream Gatherers, a preview feature introduced in Java 22, and I'm using Java 23 with preview features enabled for this purpose. My primary goal here is to better understand how the ...
Faisal Khan's user avatar
8 votes
1 answer
153 views

Here is a minimal working example (requires Java 22 or later): (just using libc free for elaborating the behaviour) import java.lang.foreign.*; import java.lang.invoke.MethodHandle; public class Main ...
test failed in 1.08s's user avatar
0 votes
0 answers
176 views

I need help installing and connecting Graal VM for javafx in netbeans. I want to create a project specifically in javafx, but only when the following sentence appears: Nashorn was removed in Java 15, ...
николай Орлов's user avatar
0 votes
1 answer
473 views

I have a java 17 Spring Boot project requiring preview features but I can't get it configured correctly. In VSC, I have configured my project's JDK Runtime to use JavaSE-17 Compiler to use the '--...
hjoly's user avatar
  • 1
0 votes
0 answers
68 views

I have downloded eclipse oxygen 2018, Wildfly 27 and JDK 22. I want to make dynamic web project, when, I try to create new server it only shows Wildfly till 12 not 27. when I try to make server with ...
Abdulrehman Nasir's user avatar
0 votes
1 answer
1k views

As i am aware, the _ for unnamed variables has been a preview feature [java:21] later released with JDK 22. This is the code in question char[] _ = { 'b', 'o', 'b' }; However i get this error ...
Ryan The Ghost's user avatar
5 votes
1 answer
358 views

So I have this code excerpt (a minimal reproduction, from a much larger project, and blocking issue). It leverages Java 22 (preview)'s structured task scope in combo with virtual threads: playground....
Salathiel Genese's user avatar

15 30 50 per page