Questions tagged [openjdk-17]
63 questions
4
votes
3 answers
JDK 17 spring boot Unable to make private java.time.LocalDateTime
I have private LocalDateTime lastModifiedDate property in the simple mongodb entity.
Run application with latest 2.5.5 and openjdk 17
Following exeptions I have with date time
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make…

Armen Arzumanyan
- 1,939
- 3
- 30
- 56
3
votes
1 answer
OpenJDK 17 Alpine build availability
It looks like https://jdk.java.net/17/ says alpine build is not available, but the alpine repo has a package. https://pkgs.alpinelinux.org/package/edge/community/x86_64/openjdk17-jre
Any idea why this happens? Does this means alpine uses an early…

enthusiast
- 355
- 1
- 5
- 16
3
votes
3 answers
Java error:JDK 17.0.1 can’t be installed on this computer
enter image description hereim trying to install JDK 17.0.1 and I don't have any java installed in my computer like other versions of JDK and java runtime. Im using macOS Monterey. my CPU is I5 and I have a Mac book 2020 and 13 inches.
more…

Amirhossein Azhinehfar
- 51
- 1
- 1
- 4
3
votes
1 answer
What are the equivalent libraries for rt.jar and jfxrt.jar for the latest version of jdk17 and javafx17?
I was tasked to upgrade an old desktop app using old java and it used rt.jar and jfxrt.jar libraries. I have searched online about the libraries(rt.jar & jfxrt.jar) but apparently, it is no longer there in Java 17 and JavaFX 17. What are the…

lemang coconut
- 103
- 10
3
votes
1 answer
Is it viable to compile my project in java8 and then run it on java 17
I've read a few articles where in jdk 9, .* APIs have been removed. By removed does this mean they are completely removed from the jdk 9 or are they marked as deprecated?
Given the above statement, if in case the project is jdk 8 compiled, would it…

Sai Kumar
- 201
- 2
- 8
2
votes
0 answers
accessible: module jdk.proxy9 does not "opens jdk.proxy9" to unnamed module
Unable to make field private static final java.lang.reflect.Method jdk.proxy9.$Proxy196.m0 accessible: module jdk.proxy9 does not "opens jdk.proxy9" to unnamed module @18ad9d68
I tried to upgrade my project from JDK11 to JDK17, but it had this…

Tablo_Jhin
- 301
- 1
- 3
- 10
2
votes
0 answers
How To Run JBLAS Java Linear Algebra Without Native Libraries
I'd like to run JBLAS in a Kotlin application. I'm running OpenJDK 17 on a Mac OSX Monterey with M1.
I've added the JBLAS dependency to my Maven pom.xml.
I've written a JUnit test where one test succeeds and the other fails:
package fea
import…

duffymo
- 305,152
- 44
- 369
- 561
2
votes
1 answer
gradle wrapper reports x86-64 architecture instead of arm-v8 architecture on Mac m1
Hello when working from a Mac m1, Gradle wrapper task reports incorrect architecture compared to gradle :
Here is the result of ./gradlew clean :
operating system 'Mac OS X'
architecture 'x86-64'
osx
x86_64
x86_64
Here is the result of gradle clean…

Antonin
- 879
- 2
- 10
- 27
2
votes
1 answer
--add-exports command not working for java.util.concurrent package
I'm currently upgrading a project from JDK 11 to 17, and even tho I had previously dealt with the module java.base does not "opens java.util.concurrent" to unnamed module @6c38726a error and managed to fix it using the --add-opens…

Onias da Rocha
- 181
- 3
- 6
2
votes
0 answers
Issue with openjdk:17 docker image
I'm using the openjdk:17 docker image, the os is Oracle Linux Server v8.5. I ssh into the container with root user and found almost all common commands are not available. I have tried ps, pidof etc but getting command not found error. I'm trying to…

user3908406
- 1,416
- 1
- 18
- 32
2
votes
0 answers
OpenJDK 17 / Java flight recorder license
I'm using openjdk 17 in production and I would like to use Java Flight Recorder tool but I cannot find precise information if I can use it for commercial purposes.
I found that in Java 8 there is an information that this tool is commercial and…

jurek
- 63
- 7
2
votes
1 answer
Apache openwebbeans with JDK17
I am upgrading openwebbeans project from openJDK12 to OpenJDK17 . currently webeans version is being used 2.0.10 . When upgrading application is not coming up. Is there any apachewebbeans version supporting java 17 and in near future any plan?

Grv
- 41
- 4
2
votes
0 answers
Jersy IllegalArgumentException jersey.repackaged.org.objectweb.asm.ClassReader exception thrown with JDK17 and tomcat 9
I am upgrading servlet based web application from JDK1.8 to openjdk17. after updating the jdk and supported with java module info. Tomcat9 failed to run the web application. I tried with different repackage version but the results are same. I cannot…

Sajid Hussain
- 400
- 3
- 10
1
vote
1 answer
module jdk.compiler does not "opens com.sun.tools.javac.processing"
I get the following error if i execute mvn package
module jdk.compiler does not "opens com.sun.tools.javac.processing" to unnamed module @15409d4e
I use java 17
how can i fix this problem?

ShortException
- 11
- 1
- 2
1
vote
0 answers
JDK17 throws an error /lib64/libc.so.6: version `GLIBC_2.6' not found
I am in process of upgrading my project from 1.8 to jdk 17. Everything works well on Ubuntu 18.
While attempting to compile the project with JDK17, I get following error:
Error: dl failure on line 542
Error: failed…

Sannu
- 1,202
- 4
- 21
- 32