System/Installation/J9.5/AIO

From J Wiki
Jump to navigation Jump to search

These instructions install a complete Windows system (base plus all addons).

There are two versions - the full version is the recommended default, and there is a 'slim' version that excludes Qt webview and so is noticeably smaller.

Windows

winget

The simplest way to install J is to use winget. For example, search for J packages:

PS C:\Users\Fred> winget search J-language
Name       Id                   Version Source
-----------------------------------------------
J-language Jsoftware.J.9.03     9.03    winget
J-language Jsoftware.J.9.4      9.4.2   winget
J-language Jsoftware.J.9.4.slim 9.4.2   winget
J-language Jsoftware.J.9.5      9.5.1   winget
J-language Jsoftware.J.9.5.slim 9.5.1   winget

Install the full J9.5 system for the current user, using the Id in the table above:

PS C:\Users\Fred> winget install Jsoftware.J.9.5

or to install for all users (requires Admin privileges for any subsequent upgrades):

PS C:\Users\Fred> winget install Jsoftware.J.9.5 --scope machine

Note that there may be one or two days delay for the winget packages to be available after a new release is made.

AIO installers

Alternatively, download and run one of the Windows All-in-One Installers:

When installing, you will be asked to choose between an installation for all users or 'just for me':

  • Installing 'just for me' produces an unshared installation (by default to your user directory C:\Users\Fred\AppData\Local\Programs) and does not require admin privilege, either during installation or during later upgrades.
  • A shared installation (by default to C:\Program Files) requires admin privilege, both for the initial installation and for subsequent upgrade to addons. That is, you will have to Run as Administrator any time you want to upgrade J packages if you install into a shared directory.

Finish Installation

Do the following to install all the addons and create desktop shortcuts:

  • run Jqt (click green Jqt icon on Start menu)
   load 'pacman'
   'install' jpkg '*'
   exit 0

Update Addons Later

Perform the following steps in the Jqt window to bring the addons up to date.

  • Select Tools|Package Manager from the menu.
  • Press the Updates button.
  • Press the Not Installed button.
  • Press the Install button.

Update the J Engine Later

Perform the following steps in the Jqt window to bring the J engine up to date.

   load 'pacman'
   je_update_jpacman_''

(optional) Change Default Folder Names

J needs directories to store temporary files, configuration files and so on. By default these are in a folder under the User's home directory, named like:

 C:\Users\Fred\j9.5-user

To change the folders J uses, follow the instructions here.

(optional) Qt IDE Setup

See Qt IDE/Install for more information on setting up the Qt IDE.