Ask Your Question

install java runtime environment

asked 2017-07-15 20:44:37 +0000

Fedora fan gravatar image

i have fedora linux 25 and i wanted to play minecraft my fedora has openjdk however i typed in my terminal java -jar TLuncher.jar it shows the text that must been shown but the window doesn't come please help me! i think the problem is i don't have java runtime environment if that's the problem please help how to install jre and how to solve the problem !

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2017-07-16 09:36:32 +0000

muep gravatar image

If you did not have a JRE installed at all, running that java command would print you something like this:

bash: java: command not found

However, in Fedora it is possible to have a minimal, headless Java installation that does not include GUI functionality. To install the usual JRE that fedora ships, run this:

sudo dnf install java-1.8.0-openjdk

I think Minecraft at least earlier used to recommend using the proprietary JRE from Oracle. However in my experience, Minecraft would run just fine with the openjdk that Fedora had. I have not tested this in a few years, though.

edit flag offensive delete link more

answered 2017-07-15 22:51:34 +0000

rhandwor52 gravatar image

Google R-java rpm files for fedora 25 and r-core for fedora 25 rpm files. If using a web browser click on tools and search add ons. You can also google java runtime rpm files for fedora 25 and get a link on how to install oricle java.

edit flag offensive delete link more


Thanks for your reply

Fedora fan ( 2017-07-15 23:04:57 +0000 )edit

Don't forget to accept the answer if it worked for you.

villykruse ( 2017-07-16 07:28:23 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.


Asked: 2017-07-15 20:44:37 +0000

Seen: 302 times

Last updated: Jul 16 '17