Attempting to install Java 8

I'm trying to install java 8 so that I can mod borderlands 2 from epic but when I try to run the RPM to install java I get this error warning: jre-8u441-linux-x64.rpm: Header V3 RSA/SHA256 Signature, key ID ad986da3: NOKEY error: can't create transaction lock on /usr/share/rpm/.rpm.lock (Read-only file system)
Solution:
I figured out how to do it, I had to add the command inside the single quotes to my bashrc file and then make a .desktop file for java so I could run jar files without using the terminal every time
Jump to solution
9 Replies
dreamyuki
dreamyuki2d ago
don''t use oracle java use openjdk from homebrew/distrobox
Lily/Lilith/Tea/Luka
I haven't heard of that before? How would I go about doing that? nvm, found it now I can't seem to open the jar file I have with openjdk i definitely installed it through brew but it doesnt seem to be recognized as an installed app
dreamyuki
dreamyuki2d ago
you need to open terminal and then java -jar modtools.jar
Lily/Lilith/Tea/Luka
java command not found i guess i didnt install it correctly then or I'm missing something
Lily/Lilith/Tea/Luka
running the command it tells me to after installing seems to do nothing
No description
dreamyuki
dreamyuki2d ago
Open a new window and it should update your path
Lily/Lilith/Tea/Luka
still java command not found
Solution
Lily/Lilith/Tea/Luka
I figured out how to do it, I had to add the command inside the single quotes to my bashrc file and then make a .desktop file for java so I could run jar files without using the terminal every time
Lily/Lilith/Tea/Luka
Ask Ubuntu
JRE not showing up in "Open with" list
I am trying to install minecraft on to my computer and i was able to do everything except change the .jar to "Open with" JRE. JRE does not appear in the list of programs -Running ubuntu 13.04 -Ha...

Did you find this page helpful?