Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.UnsatisfiedLinkError on java.util.zip.Adler32.updateBytes #193

Closed
AlexeyAnischenko opened this issue Mar 26, 2024 · 3 comments
Closed

Comments

@AlexeyAnischenko
Copy link

AlexeyAnischenko commented Mar 26, 2024

Trying to run Azul's GC Log Analyzer under CheerpJ.
Direct link for the jar download.

I copied the jar to my http server, near the index.html with the following content (bad formatting here, see the screenshot below):

<!doctype html>

<title>CheerpJ test</title> <script src="https://cjrtnc.leaningtech.com/3.0/cj3loader.js"></script> <script> (async function () { await cheerpjInit(); cheerpjCreateDisplay(1900, 1000); await cheerpjRunJar("/app/GCLogAnalyzer2.jar", "/app/sample-gc.log"); })(); </script>

The application loads, displays the UI, then tries to open the gc.log provided (you can use any GC.log available), and then fails to load it, displaying the "java.lang.UnsatisfiedLinkError on java.util.zip.Adler32.updateBytes" messagebox.

Another problem (dupe of #105) is app's "File->Open" dialog displays just the empty window with "open file" button, while there are several files in the /app root of my webserver, and I am then unable to close the "open file" dialog.

running the same app the usual way with java8 openjdk "java -jar GCLogAnalyzer2.jar sample-gc.log" works just fine

@AlexeyAnischenko
Copy link
Author

AlexeyAnischenko commented Mar 26, 2024

azul-churpj-gcla
image

index.html + jar + gc log sample:
GCLA.zip

@epanholz
Copy link
Member

The issue should be resolved with this build: https://cjrtnc.leaningtech.com/3_20240326_462/cj3loader.js

@AlexeyAnischenko
Copy link
Author

Confirming that the newer loader version fixes the problem, thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants