Skip to content
Scott Gray edited this page Jan 27, 2016 · 4 revisions

This page covers how to get JSqsh installed on your system.

Binary Releases

Each release of JSqsh has a number of pre-compiled binary packages available, that you can find by clicking here. These binary packages are packaged as follows:

  • jsqsh-version-bin.tar.gz - Standalone package that can be run from the location in which it was unpacked
  • jsqsh-version-zip - Standalone package that can be run from the location in which it was unpacked
  • jsqsh-version-noarch.deb - A Debian install package (debian, ubuntu, etc.)
  • jsqsh-version-noarch.rpm - An RPM install package (redhat, centos, etc.)

Supported Platforms

Since there are no platform specific builds, it may seem strange to have a section on supported platforms, but the truth is that jsqsh isn't 100% java. Built into jsqsh are a few small native pieces of code (called Java Native Interface calls), that provide the support for command line editing with the arrow keys, and that provide the ability for jsqsh to send its output to other programs (called "piping" of results). The JSqsh install package provides these features on the following platforms:

  • Windows x86 (32bit and 64bit)
  • Linux x86 (32bit and 64bit)
  • MacOS X
  • Power PC 64bit (LE and BE)
  • Z Series (s390x)

If you'd like to help port to additional platforms, please ping me at scottgray1@gmail.com.

If you don't see the platform you are running on listed above, does that mean jsqsh won't work? Absolutely not! It just means that certain features will be disabled.

Pre-requisites

You don't need much, just Java 1.7 or higher installed and in your path.

Installing .tar or .zip packages (all platforms)

The .tar.gz or .zip packages are completely self contained packages. You just unpack them in the location you want to use jsqsh and start running it. For most unix distributions you simply do:

$ tar xzf jsqsh-<version>-bin.tar.gz
$ cd jsqsh-<version>/bin
$ ./jsqsh

or

$ unzip jsqsh-<version>-bin.zip
$ cd jsqsh-<version>/bin
$ ./jsqsh

On Windows you can unpack the package using windows explorer wherever you would like. To execute jsqsh, you can then either run or click on:

c:\jsqsh-2.1.0\> cd bin
c:\jsqsh-2.1.0\bin> jsqsh

Installing Debian Package

To install the Debian package of jsqsh on your system, simply run:

$ sudo dpkg --install jsqsh-<version>-noarch.deb

This will leave jsqsh installed in /usr/bin and immediately available by just:

$ jsqsh

Installing RPM Package

To install the RPM package of jsqsh on your system, simply run:

$ sudo rpm --install jsqsh-<version>-noarch.deb

This will leave jsqsh installed in /usr/bin and immediately available by just:

$ jsqsh
Clone this wiki locally