Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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] Wed, 12 October 2022 02:58 Go to next message
Ming Qiu is currently offline Ming QiuFriend
Messages: 3
Registered: October 2022
Junior Member
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 22:27]

Report message to a moderator

Re: Failed to unzip JDK 17 classes.jsa on Linux [message #1855401 is a reply to message #1855395] Wed, 12 October 2022 06:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
It his is an Adoptium/Temurin question, look here for where to get help:

https://github.com/adoptium/adoptium-support/issues/new/choose


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Failed to unzip JDK 17 classes.jsa on Linux [message #1855406 is a reply to message #1855401] Wed, 12 October 2022 14:23 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

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.


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Failed to unzip JDK 17 classes.jsa on Linux [message #1855407 is a reply to message #1855406] Wed, 12 October 2022 16:11 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
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...

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Failed to unzip JDK 17 classes.jsa on Linux [message #1855411 is a reply to message #1855407] Wed, 12 October 2022 22:37 Go to previous messageGo to next message
Ming Qiu is currently offline Ming QiuFriend
Messages: 3
Registered: October 2022
Junior Member
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 23:58 Go to previous messageGo to next message
Ming Qiu is currently offline Ming QiuFriend
Messages: 3
Registered: October 2022
Junior Member
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 06:05 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
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.

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Special character issue in Photon and Oxygen
Next Topic:Invalid thread access
Goto Forum:
  


Current Time: Fri Apr 26 16:05:08 GMT 2024

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

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

Back to the top