I am using this distro for past 30 days or more and I installed openjdk-8, openjdk-11, openjdk-17, scala and kotlin way back when I freshly installed it. But yesterday I had to use java and I don't find any java. Back then I didn't set a JAVA_HOME and java path things but it was still accessible and found on the system by doing things like java --version, which openjdk-8, etc. So today I removed them all, did eopkg autoremove them all, eopkg dc; and installed them again after a reboot. is that I should only install a single jdk? it's still not working. I tried looking for some executables such as jdk, java, openjdk in directories like java, jdk, openjdk in directories list in $PATH. but found nothing. Scala and Scalac are working but kotlin things are not, obviously because of java. idk why, I thought both shouldn't work.

I already mentioned something about JAVA_HOME and/or adding java path to system path. I don't know where does solus's eopkg installs packages, there are at least 4 to 6 directories that comes default in system path, ie, /usr/local/bin, /usr/bin, /bin, /sbin, $HOME/.local/bin and a very few others more or less, depending on the distros as far as I remember but not sure, anyway, doesn't matter that's not what we should be talking about lol. I want to find out where is the openjdks are installed by eopkg so that I can add that to path.

Oh the docs say that Java 17 includes OpenJFX? That's not accurate, only Java 11 has OpenJFX. I'll fix the docs.

Also, I would advise not using openjdk-8. It's going to be removed from the repo sooner rather than later as almost everything has been migrated to something newer. The few remaining items that don't support a newer Java are just going to be removed as well.

    @ReillyBrogan ,
    Not that removing old Java stuff is something I really care about, I have to say that removing Java 8 will put me in trouble.
    Actually, I am using X-plane and to update planes, I have to use a small program called X-updater, and it's only working with Java 8. I tried with upper version of Java without success. And, unfortunately, at least for the moment, X-updater has no update to use a newer version of Java. So, if you could be kind enough to advise when you are going to remove this particular version of Java, it'll be fine 🙂

      A sub-issue arose, how do I update/set a jdk version as default jdk or where can I find update-alternatives or update-java-alternatives command? Is there anything else I'm missing?

      Patrice Yes, as someone else mentioned you can use SDKMAN to install alternate versions of Java. You can also grab Java 8 releases built by someone else and use those on Solus, the only thing that'll go away is the openjdk-8 package shipped by Solus itself. I recommend the Adoptium builds myself.

      ReillyBrogan :Also, I would advise not using openjdk-8. It's going to be removed from the repo sooner ...

      😱 (a bit OT)I hope that the support for libreoffice still remain (base, zotero ecc) currently it is the only one that works, if I didn't miss something