These instructions are for J9.6 and show how to:
- get base system from a zip or tar.gz release package
- handle security issues - allow downloaded programs to run
- update base, addons, Jqt ide, and JE (jengine)
- create desktop launch icons for user interfaces: jconsole, JHS, and Jqt
- run and play a bit with each of the user interfaces
Following assumes you are installing J in your home folder. Installing in a protected folder requires extra privileges at one or more steps to enable writes and is for advanced users. Examples use Fred as your home folder.
Platform Specific Steps
Windows
|
- click and Save File j9.6_win64.zip
- run Windows Explorer
- navigate to Downloads
- double click downloaded file - be sure to get latest (n) if more than one
- drag j9.6 folder and drop on C:\Users\Fred
- navigate to C:\Users\Fred\j9.6\bin
- double click jconsole.exe
- handle any Security Warning
When first running jconsole after installing the Windows version of J from a zip, you may get an error message saying j.dll could not be loaded because of a missing library. This is almost certainly because the Microsoft Visual C++ Redistributable needs to be installed. Get this from https://aka.ms/vs/17/release/vc_redist.x64.exe . For more information, see https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist.
|
macOS
|
- click and Save File j9.6_mac64.zip
- run Finder
- navigate to Downloads
- double click downloaded file - be sure to get latest (n) if more than one
- drag j9.6 folder and drop on /Applications (or somewhere in Users/Fred if you prefer). You should move the folder out of Downloads, and avoid the Desktop, Documents or other protected folders that may prevent J from running, see Apple Platform Security
- navigate to new j9.6 folder
- control-click macos-fix.command (to get menu)
- click Open and authenticate as required
- navigate to bin folder
- double click jconsole to start J console task
|
Linux / FreeBSD / OpenBSD
|
- you may need to do some of the following steps manually
- click appropriate file and Save File
- j9.6_linux64.tar.gz
- j9.6_fbsd64.tar.gz
- j9.6_obsd64.tar.gz
- run Finder/Windows Explorer equivalent
- navigate to Downloads
- double click downloaded file - be sure to get latest (n) if more than one
- drag j9.6 folder and drop on /home/Fred (or wherever you want to install)
- navigate to /home/Fred/j9.6
- double click jconsole.sh - run jconsole in terminal
|
Raspberry Pi
|
- you may need to do some or all of the following steps manually
- click one of the following and Save File
- j9.6_raspi64.tar.gz
- j9.6_raspi32.tar.gz
- you need the following libraries [on the latest Raspbian (Buster/Debian 10)]
- sudo apt install libqtgui4 libqt4-svg libqt4-svg libqt4-opengl libqt4-network libqtwebkit4
- run Finder/Windows Explorer equivalent
- navigate to Downloads
- double click downloaded file - be sure to get latest version (n) if more than one
- drag j9.6 folder and drop on /home/pi (your home folder)
- navigate to /home/pi/j9.6
- double click jconsole.sh - run jconsole in terminal
|
Finish Installation
Previous step created jconsole window - enter the following J sentences in that window to update base system, install all addons, install Jqt ide, create desktop launch icons, and upgrade JE.
load 'pacman'
'install' jpkg '*'
exit 0
Jqt Linux
If Jqt fails to start, see the relevant sections of Guides/Qt_IDE/Install.
Run and Play
jconsole
|
- better to start with JHS or Jqt if not familiar with J
- double click jcxxx icon and try the following J sentences
2 20 $ 'hello world ' NB. string enclosed in single quotes
a=. i.3 4 NB. table of integers
a NB. display the table
+/a NB. sum over columns
+/"1 a NB. sum over rows
NB. try your own lines here
exit 0
|
JHS
|
- double click jhsxxx icon to start server - no harm if it is already running
- in a browser, browse to URL localhost:65001/jijx or click here
- J can use multiple tabs - to avoid confusion close other tabs
- consider bookmarking jijx page
- try the following J sentences
2 20 $ 'hello world ' NB. string enclosed in single quotes
a=. i.3 4 NB. table of integers
a NB. display the table
+/a NB. sum over columns
+/"1 a NB. sum over rows
load 'plot'
plot 10?100
menu help>JHS help - be sure to read the pop-up section
menu tour - take the J 1 tour and then perhaps plot
NB. try your own lines here
NB. close the jijx tab anytime - you can always browse to it again
exit 0 NB. close the server if you want - but you can just leave it running
|
Jqt
|
- Jqt is a full-featured desktop ide J front end
- double click jqtxxx icon to run Jqt front end
|