Skip to content

Trouble with setting up Java modules in Apache NetBeans 20 Flatpak Installation, on Linux Mint 21.3 Virginia #7139

Discussion options

You must be logged in to vote

I solved this issue myself by following these steps:

  • Uninstalled both my Flatpak installation of Apache NetBeans 20 and my installation of NetBeans 21 from the ".deb" package.

  • Installed Apache NetBeans 20 from a ".deb" package downloaded from the official webpage.

  • In the terminal, ran the following command: "sudo update-alternatives --config java". Then, selected "/usr/lib/jvm/java-11-openjdk-amd64/bin/java" from the displayed options in the menu.

  • Ran the command "java --version" in the terminal to verify if the previous step worked properly. Confirming that the default Java version in my system was indeed the one I had selected.

  • Ran the command "whereis java" to see the directo…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@neilcsmith-net
Comment options

@leandrocaplan
Comment options

Answer selected by leandrocaplan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants