I switched from Windows to Ubuntu early this year and I've encountered some difficulties but so far have been able to resolve them on my own, with trial and error and simple google searches.
This one I still wasn't able to solve: I'm trying to install STRUCTURE with frontend; I already installed Java, and running the command java -version I get this output:
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-8u282-b08-0ubuntu1~20.04-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)
Now, when I proceed to the installation it asks me for the path to Java, which I determined using the command readlink -f $(which java) to be /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java.
However, I then get the error:
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java (version 1.) is not a compatible JRE
It seems that the version of Java is not recognized (?); maybe it is too new? Is there something I can do to solve this issue? I can run STRUCTURE without frontend but I would prefer to use the frontend since I my analyses have high numbers of K and a lot of iteractions.
Thank you so much in advance and I'm sorry if this post is confusing,
Valéria