User:Raul Miller/Installing J on a Mac

From J Wiki
Jump to: navigation, search

Here's my procedure for installing on the mac:

[1] Download j804_mac64.zip from http://www.jsoftware.com/download/j804/install/

[2] open it. This will create a folder named j64_804 in the same folder as the zip file.

[3] move the j64_804 folder to /Applications/.

[4] start jconsole, and in jconsole, run: install 'all'

[5] open each of the J icons in the j64_804 directory and answer "yes" to the prompt. Do this again for the JHS icon.

[6] Done.


There are several ways of accomplishing each step. I'll go over one possibility, then briefly describe some variants:

Steps [1] and [2]:

Using Safari, browse to http://www.jsoftware.com/download/j804/install/ and click on the j804_mac64.zip link. This will download and open the zip file. If the j64-804 directory already exists you'll get a new one named something like j64-804-2. You probably don't want that, so if you see that this has happened when you get to step [3], delete any j64-804 directories and then do this step again to make sure that your copy is fresh (j64-804's modify date should be today's date, if you have downloaded it through Safari).

[3]

Open a finder window and go to the Downloads directory (Downloads will probably be in the Favorites list on the left. Drag the j64-804 folder from the Downloads directory onto the Applications directory (which will probably be in the Favorites list on the left). Specifically: click and hold on the name j64-804 and move the mouse so it's over top the Applications name and then release the mouse.

[4]

open Terminal (hold down the command key, and hit the space key and then type the word terminal and then hit the enter key), then hit enter.

In the terminal window, type in these three lines:

cd /Applications/j64-804/bin
./jconsole
   install 'all'

then wait for it to finish. This will download a lot of stuff and install JQt and Qt. (Note: make sure that JQt is not already running when you do this, or it will not work and you will have to shut down this terminal session and shut down J and then do this over.) When it's done installing stuff, type:

   exit 0
exit

and then close the terminal window. (You can just close the terminal window, but waiting for the exit commands to take effect guarantees that you waited long enough for the install step.)

[5]

In the Finder window, go to the Applications directory (you will probably already be there from when you dragged j64-804 into it, but if not, you can probably get there by clicking on Applications on the left, under Favorites). And then double click on the j64-804 folder. This will take you inside of it where you should see four J icons:

  • a yellow J named jbrk
  • a grey J named jcon
  • a red J named jhs
  • a green J named jqt

This is a bit finicky - sometimes you can select these icons just by clicking on them but sometimes that doesn't work. You can also try selecting them by dragging the mouse over them. When an icon is selected, it will have a grey background.

Select each icon and then control-click on the icon and select Open. This will give you a popup telling you that the application was downloaded from the internet and ask if you are sure you want to open it. Select the "Open" option. Then do this again - control-click on the icon and select Open and then if you get a popup telling you that the application was downloaded from the internet select the Open option. And then again. When you do this the third time, you should not get any "are you sure" popup.

Note that jbrk doesn't open any windows, but the other three do.


Note also that you can do all the above steps using Terminal rather than Finder. Also, that you can skip using terminal directly by getting the grey J icon working (from step 5) and then use that to do the install'all' step.

Here's the commands you might use if you did all of this using terminal. Be sure to deal with any windows that pop up before going on to the next line (either select 'Open' if it's a dialog, or just close the window if it's something else).

First, using Chrome, download the j804_mac64.zip file. (If you used safari, you can skip the step where you open the zip file.

cd ~/Downloads
open j804_mac64.zip
sudo rm -rf /Applications/j64-804
sudo mv j64-804 /Applications/.
cd /Applications/j64-804
bin/jconsole
   install'all'
   exit''
open jbrk.app
open jbrk.app
open jbrk.app
open jbrk.app
open jcon.app
open jcon.app
open jcon.app
open jhs.app
open jhs.app
open jhs.app
open jhs.app
open jqt.app
open jqt.app
open jqt.app

Note that this procedure is slightly different from the Finder based version - this procedure gets rid of the j64-804 directory in you Downloads folder. (Which is why I specified using Chrome.)

You can also use Firefox, of course. Firefox in its default configuration gives you a popup dialog which lets you save the zip file (which is sort of like Chrome) or open it (which is sort of like Safari). I say "sort of like" because the naming convention if you download multiple times will be slightly different.