Leaning Technologies

LT

Leaning Technologies

The home of Cheerp, CheerpJ, and CheerpX. Chat about virtual machines, compilers, and WebAssembly!

Join

ClassNotFoundException, Attempting to run Processing 4 Code

Appoligies if this is out of scope for the intended use case. For school, I've been tasked with writing some coding in Processing. I would like an easy way to share the code with my classmates, with them being able to use and interact with it in the browser. The porting of the code to something like p5.js isn't exactly light work hence me finding Cheerp. Regardless, I've managed to get it vanilla Processing working pretty well locally, even compiling to a jar...

Running node and using apt-get

I had asked in a private channel about this (and got quick help!), but I wanted to repost here for the sake of others that had the same question: I had asked something along the lines of: —- I was looking for a way to run a Linux terminal locally and came across your webvm and your experiments with node in the browser (with VSCode support)...

Is there any udemy courses you would recommend, for linux, for someone with intermediate knowledge?

I have intermediate knowledge of open source learning but wanted someone with high detail, that is taught well. Want some recommendations as there are so many "expert" ones to choose from.

Error when attempting to load WASM libraries.

Hello again! I have compiled a library with Cheerp to use in a project that uses CheerpJ. I initialize CheerpJ to use my compiled WASM library, libopenal.bc, whenever a program needs libopenal.so. However, whenever it gets opened loaded, two messages appear in the console saying Wasm: Unimplemented c0 - 3, and then it enters the Javascript debugger. Any attempts to unpause the debugger just returns back to the same spot. What might I be doing wrong that would be the issue? I used the lates...

Compiling OpenAL Soft

Hello again! I am looking to add OpenAL to my project. I saw that audio was added in 4.1, but I'm not sure if it extended to Java 8, or if OpenAL could even be compiled. Has anyone tried this or have any tips for doing this?

Compiling gl4es?

Hello! I am looking to compile gl4es with Cheerp. I am aware of the already compiled binary in the Browsercraft project, however I am looking to compile it on my own so that I can maintain it if needed (Eventually I will need to also build LWJGL myself but I'll worry about that when I get there). When I try to build the gl4es repo with the latest Cheerp version, I get a...

Questions about the quota of IDBDevice on CheerpX

Hello there. I am planning to use Cheerpx to create an online Android ROM processing tool. While trying webvm.io, I noticed that the max size of the filesystem is limited to 2GiB, as Disk category says. Here is the result of executing df -h: ``` Filesystem Size Used Avail Use% Mounted on...

How to disable/remove CheerpX sidebar?

I got my own VM instance runnning following the tutorial. Is there any way to disable the sidebar completely? I would like to just have a fullscreen terminal of the VM on the page, as minimal as possible....

Trying to use LWJGL2 in web game (using CheerpJ so it's playable)

So, trying to get my game running, but i keep getting this error, what do i do?
Fatal error occured (5): Unable to validate certificate chain. Native entry did not have a certificate chain at all
Fatal error occured (5): Unable to validate certificate chain. Native entry did not have a certificate chain at all
...
No description

.java on JavaFiddle

Hi, thanks for the great tools that you guys are building. Is it possible to create classes in .java files in the javafiddle and run the code? Could someone give me an example? Thanks...

Image Icon help

Hello, I am trying to run a basic clicker game for school using github pages. Im using java8 and running cheerpj with a basic html file. The game loads and all the buttons and labels work. But none of the images I had set load. I put the images in the same folder as the source files and that still didn't work. My IDE runs the code just fine, heres link to the game https://wethan006.github.io/. If you have any ideas let me know what you need from me (screenshots or source code)

OffscreenCanvas

After not finding 'OffscreenCanvas' amongst the Cheerp 3.0 c++ include files, I had posted an 'issue' about it on github, to be told that I should check here (though in searching here, I only see two nebulous mentions which don't indicate availability), and that it could be obtained by downloading the latest sources & recompiling (however, in performing a ~naïve github search of the sources therein, I have not yet found 'OffscreenCanvas' defined there either!?). The other suggestion was 'nightl...

I am trying to run my javaFX app in cheerpj, and tried this html in windows

Here is my project https://github.com/ozkanpakdil/swaggerific only complexity is javafx in the project, probably I should provide javafx lib path to cheerpj but I could not find a way to do it, what should I do ? ``` <!doctype html> <html lang="en"> <head>...
No description

Problem with CheerJ applet runner

Problem with CheerJ applet runner in my Chrome, when I enable it, it automatically turning off, so I have to enable it again and again and again...

Is there a Firefox add-on for CheerpJ?

Need to run a Java applet for a legacy website. I can use Chrome, but can't use Chrome Web Store

Java App Cannot Find Files Through CheerpJ Virtual Filesystem

Hi, I have a Java application that I'm trying to run in the context of CheerpJ. The application reads image files from a relative path called "res/someimage.png". The app runs fine locally; the images load. I followed Alessandro's advice to use the absolute path "/files" virtual filesystem. Now, my Java app tries to access "/files/res/someimage.png". In my web server root, I have a subdirectory "res", which contains the various images. My .jar is in my server root. However, within the Che...

UnsupportedClassVersionError

Explcitly running with java 11, but sometimes on page refresh/app launch get this. ususally if I refresh again, the error is gone. But seems quite strange, since the class in question is a Java library class. In this case it is the BasicLookAndFeel class, but sometimes it is other JRE classes: java.lang.UnsupportedClassVersionError: Required Java version 45532, but CheerpJ only supports up to Java 11 at this time. Unsupported class: javax/swing/plaf/basic/BasicLookAndFeel...

cacerts No such file or directory

Expected to find the JRE trusted certs at, but got: Caused by: java.io.FileNotFoundException: /lt/11/lib/security/cacerts (No such file or directory)...

java.lang.UnsatisfiedLinkError 2

##4 Caused by: java.lang.UnsatisfiedLinkError: Java_java_io_ObjectStreamClass_initNative at java.io.ObjectStreamClass.<clinit>(Unknown Source) ~[na:na] at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) ~[na:na] at java.io.ObjectInputStream.readClassDesc(Unknown Source) ~[na:na]...

UnsatisfiedLinkError

Great with Java 11 suuport. I immediateliy tried our old desktop app, but quickly ran into these problems with the bundled java libraries. Am I doing somethin wrong, or is this simply corners of the JRE not addressed yet? Here's the stack traces: #1 Caused by: java.lang.UnsatisfiedLinkError: no management_ext in java.library.path: [.]...
Next