Hello!
I’m trying to run a .jar file (OptiFine specifically) using OpenJDK extensions from the App Center.
I’m not really sure if this is even going to work, but there are some more issues anyways.
First of all, the app center fails installing the OpenJDK extensions. When I install them and I go to the file → right click → open with other application → view all applications, the list is absolutely the same as before. I made sure I allowed executing the file as a program from properties, but still nothing. When I restart the computer and open the app center, the extensions are nowhere to be found in installed, even though they appear installed when I search them. That all happened in OS 3.9.1, and wasn’t the only issue regarding that. There were also 2 add-ons for update, called ‘Freedesktop Platform’ that refused to get updated. Earlier this day I upgraded to OS 3.9.2 and all this remains, this time with only one Freedesktop Platform to update. This time though I got errors when I tried installing OpenJDK:
Unable to install “OpenJDK SDK Extension” as download failed: While pulling runtime/org.freedesktop.Sdk.Extension.openjdk/x86_64/18.08 from remote flathub: Error resolving “dl.flathub.org”: Name or service not known
or:
Unable to install “OpenJDK SDK Extension”: Error pulling from repo: While pulling runtime/org.freedesktop.Sdk.Extension.openjdk/x86_64/18.08 from remote flathub: Opening content object
16ea1b9662382f3de9f7591941d254dd0a3674b9c1b35c33ad01d7caa8297e78: Opening content object
16ea1b9662382f3de9f7591941d254dd0a3674b9c1b35c33ad01d7caa8297e78: Couldn’t find file object
‘16ea1b9662382f3de9f7591941d254dd0a3674b9c1b35c33ad01d7caa8297e78’
or:
Unable to install “OpenJDK 11 SDK Extension”: Error pulling from repo: Failed to read commit: No such metadata object e3d387a84e98278fea57f3bd024209ba2528944cbaa90b68f6c25cfff37331d8.commit
or:
Unable to install “OpenJdk 8 Sdk extension”:
Error pulling from repo: Failed to read commit: No such metadata or object 91a3786b4d786b314ad55bfad1824b5f0e5ae440215f5d7094394e2e7d147ab3.commit
All I can understand from these errors is that I’m wasting my time trying to install unexisting things, but what do I know?
Also, in 3.9.1 I randomly got an error when I opened the app center multiple times:
Sorry, something went wrong:
No such ref ‘runtime/com.hack_computer.Clubhouse.Locale/x86_64/eos3’ in remote eos-apps
That might give more context, I don’t really know.
You can install using the toolbox command. The Toolbox is a tool that offers a familiar RPM based environment for developing and debugging software that runs fully unprivileged using Podman. I recommend reading the toolbox command documentation using the command toolbox --help
or github.com/debarshiray/toolbox/tree/master/doc
Create a new toolbox container using the command:
toolbox create --release f33
To run the toolbox use the command:
toolbox enter --release f33
To install OpenJDK use the command:
sudo dnf install java-11-openjdk
More info here: https://developer.fedoraproject.org/tech/languages/java/java-installation.html
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.