>>  <<  Ndx  Usr  Pri  Phr  Dic  Rel  Voc  !:  wd  Help  User

Starting J - Tech Details

In Windows, 1!:45 returns profile.ijs in the path of the J Front End (j.exe or jconsole.exe). For example: c:\j504\profile.ijs.

In Unix, 1!:45 uses environment variables and the J version to find profile. The version is the text in 9!:14'' up to the first /. If 9!:14'' returned j504/2004-07-25/16:45, then the version is j504. If env var JPATHj504 is defined it is used as the path to profile.ijs. Otherwise ~/j504 is used.

Normally J is initialized by the JFE with:
   (3 : '0!:0 y.')<1!:45''[ARGV_z_=:...

The JFE command line is given to the JE by setting ARGV_z_. The 1!:45'' returns the full path to the default profile. The profile is loaded by an explicit verb and it must use =: for global assignments.

The default profile defines PROFILE_z_ (if not already defined) as 1!:45''. This makes it easy for a stub profile to redirect to another profile.

-jprofile as the first parameter with additional parameters initializes J with:
   (3 : '0!:0 y.')2{ARGV_z_=:...

That is, the parameter after -jprofile is loaded instead of the standard profile.

>>  <<  Ndx  Usr  Pri  Phr  Dic  Rel  Voc  !:  wd  Help  User