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

launch script does point to set java enviroments on Manjaro/arch #2413

Closed
coreybruce opened this issue Nov 2, 2021 · 7 comments
Closed

launch script does point to set java enviroments on Manjaro/arch #2413

coreybruce opened this issue Nov 2, 2021 · 7 comments

Comments

@coreybruce
Copy link

coreybruce commented Nov 2, 2021

Describe the bug
The launch script does not point to the correct location where java versions are set on Manjaro/Arch and thinks java 16 for example isn't installed.

No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be 15.

For example on Manjaro/Arch we can use the archlinux-java command to set our default version of java

image

To Reproduce
Steps to reproduce the behavior:
Ran the script

Log or error message
This is my log file:

No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be 15.

Expected behavior
A clear and concise description of what you expected to happen.
Game runs

Screenshots
image

I even followed the steps from here: https://wiki.faforever.com/index.php?title=Setting_Up_FAF_Linux#Set_INSTALL4J_JAVA_HOME

and that didn't do anything sadly.

OS
Manjaro Linux

Wanna have the bug fixed quickly?
Visit Issue hunt...
Issue hunt

@coreybruce coreybruce added the bug label Nov 2, 2021
@Sheikah45
Copy link
Member

The wiki is out of date. Use this thread https://forum.faforever.com/topic/12/linux-support?page=1

@coreybruce
Copy link
Author

coreybruce commented Nov 2, 2021

I'm confused, how does this forum post help? it doesn't also give me a answer to the issue.

Could you please give me a straight direct answer on how to fix this?

@Sheikah45 Sheikah45 added the linux label Nov 2, 2021
@Sheikah45
Copy link
Member

That forum post is the main location for discussion on setting up the client in linux. I do not run nor support the client in linux so cannot answer your issue personally and right now their are no developers who support it for linux.

That thread also contains scripts and instructions for installing the client in linux that other users have found. You are probably best off making a message in that thread.

@Brutus5000
Copy link
Member

You misinterpret the error message. It's not complaining about missing Java, but about wrong version. Effectively duplicate of #2298

@Askaholic
Copy link
Collaborator

I actually set up the client on Manjaro yesterday with adopt OpenJDK 15 and it worked fine.

@coreybruce
Copy link
Author

I actually set up the client on Manjaro yesterday with adopt OpenJDK 15 and it worked fine.

What package did you use? where is openjdk15? also isn't this this being updated to support java 15?

@Askaholic
Copy link
Collaborator

I downloaded Adopt OpenJDK 15 from the archive page that Sheikah posted in this forum thread:

https://forum.faforever.com/topic/1754/installing-on-linux-with-java-15?_=1635898690721

Here’s the link: https://adoptopenjdk.net/archive.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants