JeffPawn64
JeffPawn64
LTLeaning Technologies
Created by JeffPawn64 on 5/22/2025 in #support
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 CheerpJ context, my app is still not loading the images. What am I doing wrong? Thanks in advance.
4 replies