installing openjdk
Im new to this operating system. Prior I just used Manjaro and LMDE for a couple years, witch both have some kind of jdk pre installed or something. Im trying to install openjdk so i can us it with VScode but I'm unfamiliar with this OS and dont really see anyone else mentioning how to install openjdk here or online. I installed code - OSS from the "Software" app.
running Gnome on framework 13 laptop
7 Replies
i tried installing a bunch of random shit from the software app but seems like none of it is working.
Follow this section of the VSCode Flatpak readme:
https://github.com/flathub/com.visualstudio.code?tab=readme-ov-file#support-for-language-extension
Though if I may interject with a suggestion - I have had a much better time doing development tasks inside a Distrobox - which you can easily create through running
ujust distrobox-assemble
in the terminal.
In essence, you need to run the Flatpak at least once with the SDK environment variables declared for them to be plugged into Code.im not sure what any of this means
Solution
Have you tried installing openjdk using brew
brew install openjdk
?i can try, never heard of brew before :Y
:O it worked :D just like that :o Thanks! (also u have a typo with openjdk)
Fixed the typo 🫢
You can use brew for installing most command line tools, in the same way that flatpak is for GUI apps