Linked Questions

Popular Questions

Sudo doesn't recognize specific commands

Asked by At

I'm currently a student and I must installed Jhipster for a project, the installation seems to work fine but I faced many problems. Indeed, when I want to compile jdl files, I want to do it with a sudo but jhipster is not find only when I used sudo (without it it works)

with sudo

Furthermore when I tried to launch a Jhipster project I must do ./mnvw or sudo ./mnvw. Here again when I use sudo, a warning spawn with the following message : "Warning: JAVA_HOME environment variable is not set.". This warning is not here when I don't put sudo.

So I would like to know why theses commands doesn't work with sudo, I don't have any troubles with other commands. Thanks in advances for your help, sorry for my english level and all the mistakes I made.

Related Questions