The CTP-installer program requires a graphics environment. CTP does
not.
One way around the problem is to do the installation on a computer that has
a graphics environment and then manually copy the CTP directory (and all its
subdirectories) to the target machine.
The CTP configuration is contained in the config.xml file located in the
CTP directory. You can configure your CTP manually by editing the file with a
text editor, but I recommend using the Launcher program's Configuration Editor
to do it. A typical CTP installation has only one pipeline, but some have many.
A typical pipeline has three or four pipeline stages, but some have 10 or more.
Each pipeline stage has anywhere from four to more than a dozen parameters. The
Launcher Configuration Editor guides you through the configuration process; it
knows all the attributes and their defaults, and it provides explanations. At
the risk of sounding immodest, I know everything about CTP (I wrote it), but I
never configure it by hand – it's just too easy to forget something that
the configuration editor would have caught. If you are running on a system that
doesn't have a graphics environment, I recommend running the Launcher program on
a system that does, using the configuration editor to create a configuration for
your project, and then copying the config.xml file over to the target
system.
Note that when running CTP on a system that doesn't have a graphics
environment, you can't use the Launcher program (which has a graphical UI). You
must either use the Runner program (in the CTP directory) or manually enter the
command to start CTP.
The Launcher program keeps some persistent data in the Launcher.properties
file located in the CTP directory. The file includes some graphical properties
like the size of its window (w, h) and where on the screen it was last displayed
(x, y), as well as some JRE properties like the starting heap size (ms), the
maximum heap size (mx), and the thread stack size (ss). The Runner program also
uses this file to get the JRE properties. If the file is missing, the Runner
program uses the system defaults. The defaults are usually okay, but I like to
give it more heap space if I'm processing large images. If you want to control
the heap size, you can create the file on the target machine yourself, or you
can run the Launcher program on a machine with a graphics environment, set the
parameters, and copy the file to the target machine.
Here is the Launcher.properties file from one of my CTP
installations:
#Launcher.properties
#Sat Jun 04 10:51:19 CDT
2016
ms=128
ext=
mon=no
ssl=no
h=970
y=55
x=1953
w=1129
d32=no
mx=768
clr=yes
ss=
One more thing: I always build on the Oracle JDK and run on the Oracle JRE.
I have never tested on the OpenJDK.
JP