freej2me icon indicating copy to clipboard operation
freej2me copied to clipboard

unable to access jarfile

Open SuperPou1 opened this issue 3 years ago • 15 comments

when i try to run a game in retropie with lr-freej2me, it's loading and then it just kicks me back to emulationstation. for some reason i can't save the runcommand.log, but the error was short and something like this:

Parameters: (retroarch command running lr-freej2me) Error: Unable to access jarfile /home/pi/RetroPie/BIOS/freej2me/freej2me-lr.jar

how do i fix this? could this be something with permissions? i used the build on curseforge.

SuperPou1 avatar Jan 08 '23 21:01 SuperPou1

You need to have freejme-lr.jar in /home/pi/RetroPie/BIOS/freej2me/ If the file is already there, make sure that it has appropriate permissions.

I have no idea what 'curseforge' is. You could try getting a build from a more reputable source. It is also fairly easy to build yourself, which I recommend.

recompileorg avatar Jan 08 '23 21:01 recompileorg

You need to have freejme-lr.jar in /home/pi/RetroPie/BIOS/freej2me/ If the file is already there, make sure that it has appropriate permissions.

I have no idea what 'curseforge' is. You could try getting a build from a more reputable source. It is also fairly easy to build yourself, which I recommend.

oh, sorry, i meant sourceforge, i often confuse it with curseforge which is a modpack installer for minecraft… also yes, the file already is there, and i set the perms with sudo chmod 755 (when i open the properties of the file on ubuntu it says that the owner is root, which is weird, since other files in other dirs say i am the owner)

SuperPou1 avatar Jan 08 '23 22:01 SuperPou1

also yes, i tried building it myself, but the freej2me-libretro.so file is missing from your github, so i downloaded the build from sourceforge and used all the files from that

SuperPou1 avatar Jan 08 '23 22:01 SuperPou1

also just tried using my build of freej2me-lr.jar - gives me the same error

SuperPou1 avatar Jan 08 '23 22:01 SuperPou1

That should be fine... if it's not working, check the permissions on the directory as well.

If the ownership issue bothers you, you can easily change that with the chown command.

recompileorg avatar Jan 09 '23 03:01 recompileorg

That should be fine... if it's not working, check the permissions on the directory as well.

If the ownership issue bothers you, you can easily change that with the chown command.

The permissions of the directory are fine too.

SuperPou1 avatar Jan 09 '23 05:01 SuperPou1

Do you have Java installed? I recommend Oracle's JRE as it's quite a bit faster than OpenJDK.

recompileorg avatar Jan 09 '23 06:01 recompileorg

Do you have Java installed? I recommend Oracle's JRE as it's quite a bit faster than OpenJDK.

Yeah, I have openjdk 8, openjdk 11 doesn't work because it doesn't support armv6l

SuperPou1 avatar Jan 09 '23 15:01 SuperPou1

@recompileorg do you know what could be the issue?

SuperPou1 avatar Jan 12 '23 20:01 SuperPou1

No clue. With what you've told me, that's the best I can do. You could try building the .so file yourself, there are instructions in the package you downloaded. I doubt it will make any difference, but that's the only thing left to try.

recompileorg avatar Jan 12 '23 20:01 recompileorg

i mean, what else i can tell you? it's running on a raspberry pi zero, and i made sure to chmod 755 all new created/added files

SuperPou1 avatar Jan 12 '23 20:01 SuperPou1

also where exactly are the instrucions to build the so file?

SuperPou1 avatar Jan 13 '23 17:01 SuperPou1

There should be a text file in src/libretro

Don't expect much from a pi zero. I wouldn't run this on anything less than a 3.

recompileorg avatar Jan 14 '23 02:01 recompileorg

There should be a text file in src/libretro

Don't expect much from a pi zero. I wouldn't run this on anything less than a 3.

Well, in src/libretro there's only a retropie.txt .txt file. It doesn't contain instructions how to build freej2me_libretro.so

SuperPou1 avatar Jan 14 '23 10:01 SuperPou1

There should be a text file in src/libretro Don't expect much from a pi zero. I wouldn't run this on anything less than a 3.

Well, in src/libretro there's only a retropie.txt .txt file. It doesn't contain instructions how to build freej2me_libretro.so

Just run make on a terminal pointed to that folder and it should build the .so file as long as you have the build tools needed. Never had issues with permissions on the jar file, so it could have something to do with arm platforms or your emulationstation install, though i've no experience with it.

AShiningRay avatar Jan 27 '23 19:01 AShiningRay