You are not logged in.
Whenever I run 'java --version', I get this output:
$ java --version
Output:
[0.006s][warning][cds] A jar file is not the one used while building the shared archive file: /usr/lib/jvm/java-20-openjdk/lib/modules
[0.006s][warning][cds] /usr/lib/jvm/java-20-openjdk/lib/modules timestamp has changed.
openjdk 20.0.1 2023-04-18
OpenJDK Runtime Environment (build 20.0.1+9)
OpenJDK 64-Bit Server VM (build 20.0.1+9, mixed mode)
What does the first two lines of the output signifies? Is it normal or do i need to fix something?
Thanks in advance.
Last edited by Rayshabh (2023-04-25 19:30:15)
Offline
I have the same issue.
I download openjdk archive from site jdk.java.net/20/
Extract and then replace original lib folder with extracted lib folder, and this warning is gone away.
Offline
Just updated my packages and have the same behavior when starting jar applications from cli.
Offline
Here also, still digging for an answer, will post back if I figure it out.
Offline
Here also, still digging for an answer, will post back if I figure it out.
Me too. Still waiting for an update that would fix the issue!
Offline
I have the same issue.
I download openjdk archive from site jdk.java.net/20/
Extract and then replace original lib folder with extracted lib folder, and this warning is gone away.
Stupidly, I completely missed this response earlier. Can confirm this has worked for me, thanks @Viterzgir.
Offline
Viterzgir wrote:I have the same issue.
I download openjdk archive from site jdk.java.net/20/
Extract and then replace original lib folder with extracted lib folder, and this warning is gone away.Stupidly, I completely missed this response earlier. Can confirm this has worked for me, thanks @Viterzgir.
OK, but this is not we way we're supposed to do this longterm right? The package will eventually be updated, I hope.
Offline
Just FYI I opened a bug to track this issue https://bugs.archlinux.org/task/78279
I have the same issue.
I download openjdk archive from site jdk.java.net/20/
Extract and then replace original lib folder with extracted lib folder, and this warning is gone away.
This solution basically boils down to discarding the package provided binaries and manually installing them.
A more clean approach is to just install them with the corresponding AUR https://aur.archlinux.org/packages/java-openjdk-bin
My personal preference is temurin though https://aur.archlinux.org/packages/jdk-temurin, OpenJDK binaries aren't a great choice to be honest. More info here https://whichjdk.com/
Offline
Newer update (v 20.0.1.u9-3) has fixed the issue!
Thanks everyone! Closing this thread!!
Offline