Run console commands
Log in to the server console as the bitnami user and run the command as usual. The required environment is automatically loaded for the bitnami user.
To check that the environment is loaded correctly, confirm that the output of the commands below reference your Bitnami installation directory:
$ which java $ which gradle
To execute Gradle, simply use the correct path, as below: