Skip to main content



      Home
Home » Newcomers » Newcomers » Failed to unzip JDK 17 classes.jsa on Linux(JDK17 )
Failed to unzip JDK 17 classes.jsa on Linux [message #1855395] Tue, 11 October 2022 22:58 Go to next message
Eclipse UserFriend
index.php/fa/42594/0/Hi here,

We am facing an issue when trying to unzip jar file that contains Eclipse Build OpenJDK17, 17.0.4.1+1, files to a directory on Linux OS.
The unzipping process failed when trying to process the classes.jsa. The server is on AWS (x86-64bit).

We noticed that the process was able to handle the "classes_nocoops.jsa" under the same directory, and was also able to handle "libjvm.so" which has larger size.

What make the issue more strange was that it worked fine on my Virtual Machine.

Any suggestions?
Thanks in advanced.

Regards,
Ming

[Updated on: Wed, 12 October 2022 18:27] by Moderator

Re: Failed to unzip JDK 17 classes.jsa on Linux [message #1855401 is a reply to message #1855395] Wed, 12 October 2022 02:54 Go to previous messageGo to next message
Eclipse UserFriend
It his is an Adoptium/Temurin question, look here for where to get help:

https://github.com/adoptium/adoptium-support/issues/new/choose
Re: Failed to unzip JDK 17 classes.jsa on Linux [message #1855406 is a reply to message #1855401] Wed, 12 October 2022 10:23 Go to previous messageGo to next message
Eclipse UserFriend
Could you obscure less of what you're trying to do? Truly no one cares what paths you're using, but doesn't look
like you're expanding their download from what I can see--all of the Linux builds are provided as .tar.gz files, not
zip files.
Re: Failed to unzip JDK 17 classes.jsa on Linux [message #1855407 is a reply to message #1855406] Wed, 12 October 2022 12:11 Go to previous messageGo to next message
Eclipse UserFriend
Nitin, I think they are using the installer from https://adoptium.net/ which is why I referred them to that support channel. It's just a guess though...
Re: Failed to unzip JDK 17 classes.jsa on Linux [message #1855411 is a reply to message #1855407] Wed, 12 October 2022 18:37 Go to previous messageGo to next message
Eclipse UserFriend
Hi Nitin & Ed,
Thanks for the reply.

Our built jar file contains the unzipped jdk files (no file changes or processing to the jdk files), we just bundle it.
The issue is, when we tried to expand the jar file, it failed on that particular file, classes.jsa.
We tried to use the jar xf to extract the jar file directly, and failed too.

The strange thing is it worked on some other Linux.

I uploaded a new attachment, Sceenshot-2.JPG, hoping it helps explain the issue better.

Thanks for looking into it, any suggestion/pointers is appreciated!

Cheers,
Ming




Hope I explained the issue clearly.

Thanks



Re: Failed to unzip JDK 17 classes.jsa on Linux [message #1855412 is a reply to message #1855411] Wed, 12 October 2022 19:58 Go to previous messageGo to next message
Eclipse UserFriend
Adding one more info, but certainly didn't want to confuse the problem.
The seemed people reporting the similar issue as we are facing, but we cannot use the same workaround in our case.

"Downloading https://<corp proxy>/v3/binary/latest/17/ga/linux/x64/jdk/hotspot/normal/adoptopenjdk to /XXXXX/jenkins/.gradle/jdks/adoptopenjdk-17-x64-linux.tar.gz

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'pipeline-template'.
> Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
> Unable to download toolchain matching these requirements: {languageVersion=17, vendor=any, implementation=vendor-specific}
> Could not copy tar entry /XXXXX/jenkins/.gradle/jdks/adoptopenjdk-17-x64-linux.tar.gz!jdk-17.0.1+12/lib/server/classes.jsa to '/XXXXX/jenkins/.gradle/jdks/jdk-17.0.1+12/lib/server/classes.jsa'.
> /XXXXX/jenkins/.gradle/jdks/jdk-17.0.1+12/lib/server/classes.jsa (No such file or directory)
"
Re: Failed to unzip JDK 17 classes.jsa on Linux [message #1855416 is a reply to message #1855412] Thu, 13 October 2022 02:05 Go to previous message
Eclipse UserFriend
I just don't think this is the right forum to ask because this isn't asking about anything that seems related to Eclipse's IDE and frameworks. But I already suggested where best to ask, so no point in repeating that suggestion.
Previous Topic:Special character issue in Photon and Oxygen
Next Topic:Invalid thread access
Goto Forum:
  


Current Time: Sat May 17 07:02:11 EDT 2025

Powered by FUDForum. Page generated in 0.08053 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top