我正在尝试在intellij上运行jboss服务器,但我不知道在哪里需要授予此权限,因为我已经授予了java和standalone.sh的权限。
有人能帮我吗?
/home/henrique/jboss-eap-7.2/bin/standalone.sh:1:eval:/home/henrique/.jdks/azul-11.0.11:权限被拒绝
standalone.sh权限
java权限
完全登录启动
/home/henrique/jboss-eap-7.2/bin/standalone.sh
JBoss Bootstrap Environment
JBOSS_HOME: /home/henrique/jboss-eap-7.2
JAVA: /home/henrique/.jdks/azul-11.0.11
JAVA_OPTS: -server -Xms1303m -Xmx12g -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=1256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
=========================================================================
/home/henrique/jboss-eap-7.2/bin/standalone.sh: 1: eval: /home/henrique/.jdks/azul-11.0.11: Permission denied
谢谢
1条答案
按热度按时间a0x5cqrl1#
您有多种解决方案:
1-第一个使用
sudo
```sudo sh /home/henrique/jboss-eap-7.2/bin/standalone.sh
sudo groupadd webserver
sudo chgrp -R webserver /home/henrique/jboss-eap-7.2/
sudo chmod -R g=rwx /home/henrique/jboss-eap-7.2/