Download Inq

Binary Distribution

Binary downloads are available here.

Inq itself only requires JavaTM J2SE 1.6. Individual applications, such as petstore, require additional support that they detail. There are also some simple command line scripts in the ./examples/... directories. These demonstrate various features of the Inq language including some mathematical problems, file handling, xml processing and JMS messaging. If there are things you would like added please ask.

Inq includes binary distributions of Docking Frames, JCalendar, JLine and TableLayout. Their licenses are included in the README. JLine is used to provide history at the Inq command line prompt presently for non-Windows platforms only.

The binary distribution is ready to run - just download, the appropriate ...dist... file, unpack and follow the specific setup requirements for any of the example applications found under ./app/examples.

INQHOME

Where you unpack inq becomes INQHOME. It is not necessary to establish the environment variable $INQHOME or %INQHOME% on Windows systems, however you may wish to do so if you have more than one version present on your system. Furthermore, please avoid spaces in the %INQHOME% directory path.

On Mac OS X set $INQHOME if you have problems with the inq launcher script and readlink.

On Linux/Unix systems it may be useful to set up symbolic links for the inq launcher, for example:

/bin/inq -> /home/tom/apps/inq-alternatives/bin/inq

and (for example)

/home/tom/apps/inq-alternatives -> inq-1.1.1-SNAPSHOT

PATH

Again, not strictly necessary but convenient to add <INQHOME>/bin to your system's PATH variable (though see also notes notes on the shebang flag). It is also necessary to add the command directories of any utilities required by the examples (for example fop used by petstore).

Github Source

The Inq source is available at the github. To build Inq you will require Apache Maven. You can then build with

mvn package

The main artifact is only the Inq classes, however there are a number of assemblies as follows

inq-{version}-dependencies.jar
the dependencies - may be useful to add to your IDE so Inq compiles there.
inq-{version}-runtime.jar
the Inq classes and their dependencies in a single jar. This is the jar that is required for Inq to run and resides in the lib directory.
inq-{version}-dist.[tar.gz|zip]
the Inq distribution. Unpack one of these to install Inq.

JCalendar

The Inq team have made some additions to JCalendar. There is a summary here. The source is at github and javadoc is available.