In my (infrequent) use of jhs, I use a script located in /usr/local/bin
that when used looks like this:
iMi7:~ jkt$ cat /usr/local/bin/jhs8
#!/bin/bash
(sleep 5; open -a "Google Chrome" http://127.0.0.1:65001/jijx) &
/Applications/j64-801/bin/jconsole ~addons/ide/jhs/core.ijs -js "
init_jhs_'' "
iMi7:~ jkt$ jhs8 &
[1] 23263
iMi7:~ jkt$
J HTTP Server - init OK
Requires a modern browser (later than 2005) with Javascript.
A : separates ip address from port. Numeric form ip can be faster than name.
Start a web browser on this machine and enter URL:
http://127.0.0.1:65001/jijx
iMi7:~ jkt$ # continuing whatever I'm doing in Terminal
iMi7:~ jkt$ # including a jconsole session perhaps
iMi7:~ jkt$ j64 # a symbolic link to /Applications/j64-701/jconsole
JVERSION
Engine: j701/2011-01-10/11:25 build: Feb 6 2011 16:16:29
Library: 7.01.083
Platform: Darwin 64
Installer: j701a_mac64.dmg
InstallPath: /Applications/j64-701
exit 0
iMi7:~ jkt$
[1]+ Done jhs8
iMi7:~ jkt$
~~~
Since I always have a Terminal session open on a desktop, this is very
convenient. In the resulting jhs browser window I can do things like
link jal for updates etc. When exit 0 is performed in the browser
window, the task running in Terminal ends politely.
On 2013/09/25 08:17 , Murray Eisenberg wrote:
I'd forgotten that the server doesn't automatically start the browser client.
Thanks for the reminder.
I'd been away from JHS for many months, having been using JQT instead. And perhaps I had
"unreasonable expectations": I became accustomed to having the server-client
Sage math system automatically open the browser client when I start the server.
On 24 Sep 2013 17:14:35 -0400, Eric Iverson <[email protected]> wrote:
The jhs801.app icon just starts the JHS server task.
You need to explicitly browse to a page that the JHS server serves.
After you have started the server (with the icon):
1. start a browser (or use one that already is running)
2. browse to URL localhost:65001/jijx
3. you should see the jijx page and should be able to enter J sentences
You can use safari or firefox or chrome.
I typically start the server when I start the machine and leave it
running. Then it is always there when I want it from a browser.
On Tue, Sep 24, 2013 at 4:41 PM, Murray Eisenberg <[email protected]> wrote:
I just downloaded and installed the latest 64-bit J801, and the JAL, on my Mac
under OS X 10.8.5.
What do I do to get JHS to work? When I click the jhs801.app icon, nothing
seems to happen -- no browser window opens.
(The J801 console itself, and jqt801.app work just fine.)
---
Murray Eisenberg [email protected]
Mathematics & Statistics Dept.
Lederle Graduate Research Tower
University of Massachusetts
710 North Pleasant Street
Amherst, MA 01003-9305
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm