Hey @SolarUltima,
If you read the manpage
on sudo
you’ll find that the default policies generally clear a lot of environment variables for security reasons, (this happens automatically) and while you’re building your application and running your java -version
check with normal permissions, (without chown/chmod
) you’re using sudo java
to actually have it in runtime. You may be getting a different PATH
and/or JAVA_HOME
in the two environments.
See if that doesn’t help, if it doesn’t post back and I’d like to see some more log files.
Thank you,
Montana Mendy