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

unable to access jarfile #167

Open
SuperPou1 opened this issue Jan 8, 2023 · 15 comments
Open

unable to access jarfile #167

SuperPou1 opened this issue Jan 8, 2023 · 15 comments

Comments

@SuperPou1
Copy link

SuperPou1 commented Jan 8, 2023

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.

@recompileorg
Copy link
Collaborator

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.

@SuperPou1
Copy link
Author

SuperPou1 commented Jan 8, 2023

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
Copy link
Author

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
Copy link
Author

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

@recompileorg
Copy link
Collaborator

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.

@SuperPou1
Copy link
Author

SuperPou1 commented Jan 9, 2023

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.

@recompileorg
Copy link
Collaborator

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

@SuperPou1
Copy link
Author

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
Copy link
Author

@recompileorg do you know what could be the issue?

@recompileorg
Copy link
Collaborator

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.

@SuperPou1
Copy link
Author

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
Copy link
Author

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

@recompileorg
Copy link
Collaborator

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.

@SuperPou1
Copy link
Author

SuperPou1 commented Jan 14, 2023

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

@AShiningRay
Copy link
Contributor

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.

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

3 participants