Install4j 5.1 - Floating license setup on a headless ubuntu server

无人久伴 提交于 2019-12-14 02:39:59

问题


I want to build our app on an Ubuntu server. Our setup programs are created with Install4j 5.1 and integrated in our maven build through the maven-install4j-plugin. The problem I have is that I can't initialize the license information to point to our floating license server (localhost:11862). To initialize the license, I use the following command :

install4jc --license=XXXXXXXXX

The problem is that I don't know the exact syntax to setup the license to a floating server. I've tried --license=localhost:11862 and I've tried to copy-paste my floating license key directly without success.

Where can I find basic instructions on how to setup my floating license infos on a headless system and above all, how to express it to stop receiving "Invalid Syntax Key" when executing install4jc?


回答1:


The syntax for using a floating license server is

install4jc --license=FLOAT:localhost:11862

If you have a Windows Edition license, you currently have to edit

$HOME/.install4j5/config.xml

and change floatingMultiPlatform="true" to floatingMultiPlatform="false" in that file.

From install4j 5.1.3 on, you will be able to pass the command line option --windows-edition instead of editing the config file and the FLOAT:server syntax is documented when running install4jc --help.



来源:https://stackoverflow.com/questions/11867116/install4j-5-1-floating-license-setup-on-a-headless-ubuntu-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!