The installer replaces all files (unlike pacman updates) so when you do an
install you get a new jhs.bat. In windows you also get new launch icons
available in the program group from your windows start button. If you have
old icon on your desktop you might want to replace them with the new ones.

The line you give (... init_jhs_ 65001 ...) is a very old style jhs startup.
The jhs startup now runs from a jhs.ijs config file which is where the 65001
would come from (as well as other stuff).

See the jhs.bat file from the new installer for the correct line.

"%~dp0jconsole" ~addons/ide/jhs/core.ijs -js " init_jhs_'' "

That is core.ijs is loaded after profile and then the sentence init_jhs'' is
run.


2011/1/7 Björn Helgason <[email protected]>

> I upgraded J and when I restarted jhs I found out that the line I added to
> jhs.bat to start the browser is gone and then I get this
>
>
> C:\j701\bin>C:\j701\bin\jconsole ~addons/ide/jhs/core.ijs -js " init_jhs_
> 65001
>  0 "
> |domain error: fixuf
> |   p=.<'~user/jhs/'    ,y
>
>
>
> 2011/1/7 Björn Helgason <[email protected]>
>
> > I have up to just now used either two bat files or just the jhs bat and
> > copied the server entry by hand from the command window to the browser.
> >
> > I now added the browser start entry into the jhs bat file and it works
> > nice.
> >
> > Important to put the browser start on a line before the call to J because
> > the J server line hangs and waits for J to end
> >
> > ----------------- new jhs.bat
> >
> >  C:\Users\bjorn\AppData\Local\Google\Chrome\Application\chrome.exe
> > http://127.0.0.1:65001/jijx
> >
> >
> > %~dp0jconsole ~addons/ide/jhs/core.ijs -js " init_jhs_ 65001  0 "
> >
> > ...
> >
> > rest of old jhs.bat
> >
> > ---------------------- end of jhs.bat
> >
> >
> > So depending how quickly the server and the browser start
> >
> > If the jhs server is there before the browser is up it is ok.
> >
> > If the browser is there first then it is just a question of refreshing
> the
> > browser page after the server is up.
> >
> >
> > --
> > Björn Helgason, Verkfræðingur
> > Fornustekkum II
> > 781 Hornafirði,
> > t-póst: [email protected]
> > gsm: +3546985532
> > sími: +3544781286
> > http://groups.google.com/group/J-Programming
> >
> >
> > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
> >
> > góður kennari getur stigið á tær án þess að glansinn fari af skónum
> >           /|_      .-----------------------------------.
> >          ,'  .\  /  | Með léttri lund verður        |
> >      ,--'    _,'   | Dagurinn í dag                     |
> >     /       /       | Enn betri en gærdagurinn  |
> >    (   -.  |        `-----------------------------------'
> >    |     ) |         (\_ _/)
> >   (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
> >    `. )----'        (")_(") ☃☠
> >
>
>
>
> --
> Björn Helgason, Verkfræðingur
> Fornustekkum II
> 781 Hornafirði,
> t-póst: [email protected]
> gsm: +3546985532
> sími: +3544781286
> http://groups.google.com/group/J-Programming
>
>
> Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
>
> góður kennari getur stigið á tær án þess að glansinn fari af skónum
>          /|_      .-----------------------------------.
>         ,'  .\  /  | Með léttri lund verður        |
>     ,--'    _,'   | Dagurinn í dag                     |
>    /       /       | Enn betri en gærdagurinn  |
>   (   -.  |        `-----------------------------------'
>   |     ) |         (\_ _/)
>  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
>   `. )----'        (")_(") ☃☠
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to