Welcome to our forums.
This error seem to be more related to
apparmor than Eclipse itself, and no, Eclipse doesn’t need Gnome. Since it is a Java based application, it does not care much what GUI you are using, as long as you have a compatible
jre in place.
The error message indicates you don’t have the
apparmor_parser in your
$PATH. You could start resolving this issue by checking if apparmor is installed properly, and where the binary in question is located. This is a sample output from one of my Ubuntu 20.04 machines:
$ dpkg -l | grep apparmor
ii apparmor 2.13.3-7ubuntu5.1 amd64 user-space parser utility for AppArmor
ii libapparmor-perl:amd64 2.13.3-7ubuntu5.1 amd64 AppArmor library Perl bindings
ii libapparmor1:amd64 2.13.3-7ubuntu5.1 amd64 changehat AppArmor library
ii libapparmor1:i386 2.13.3-7ubuntu5.1 i386 changehat AppArmor library
The above shows that I got
apparmor installed. To check where the binary is, I can execute the following:
$ which apparmor_parser
And since now I know where the binary is, I can check if
/sbin is on my path or not:
$ echo "$PATH"
And there it is (the 5th entry in the above example - entries are separated by colon). If you don’t have the binary’s directory on your path, you can add it temporary or permanently. We have a guide on modifying the $PATH environmental variable that might be of help with this procedure.