as I get java.lang.module.FindException: Module java.se.ee not found error when I try to update android sdk I set this paths on /etc/environment:
java.lang.module.FindException: Module java.se.ee not found
/etc/environment
I faced the same issue on Ubuntu.
And just solved by running the below command in the terminal
unset JAVA_OPTS