首页 > 解决方案 > An install4j app on centOS without GUI is installed on /usr/local

问题描述

On CentOS7 without GUI, when trying to install an install4J app, it uses the install folder "/usr/local" and I see in logs that sys.installationDir equals "/usr/local"

On other distro (debian), it seems equals to "/opt"

However if I use a CentOS with a GUI, it chooses the "/opt" folder

Do you know why?

Thanks in advance Cheers

Edit: I'm using install4j 7.0.10

标签: centos7install4j

解决方案


如果存在,安装程序更喜欢/opt标准/user/local安装目录。


推荐阅读