Currently Package Manager doesn't run when using Jconsole. In the past this hasn't been a problem for me, however I now have PuTTY access to a server running Ubuntu 8.04 LTS 64bit server. (The server is Intel Core-i7 based with 8GB RAM, and I'm keen to try it with some of my longer-running analyses which take 8-10 days on a Core2 Duo).
I've installed 64-bit J and now need to update the base library and install various addons from JAL. I could have manually downloaded them from www.jsoftware/com/jal/j602/, and unpacked them in the appropriate folders, but that sounded like too much work! So I thought I'd try & investigatge Package Manager and see how hard it would be to get it to work. Using the methodology below, I was able to successfully use Package Manager from jconsole. It would be nice for a future version if the GUI could be cleanly separated from the underlying functionality so this scenario would be easier (an apt-get analogue!). ========================================= It isn't possible to load ~system/extras/util/pacman.ijs because of gl2 calls that are only required by the GUI interface. However functionality of downloading and installing addons isn't reliant on the GUI, so if we could load the script, most of the functionality should be available. I made a copy of the pacman.ijs script and commented out the following lines at the top of the script: NB. script_z_ '~system/packages/misc/font.ijs' NB. script_z_ '~system/main/gl2.ijs' NB. script_z_ '~system/classes/grid/grid.ijs' NB. script_z_ '~system/classes/grid/jsgrid.ijs' NB. script_z_ '~system/classes/grid/jzgrid.ijs' I was then able to load it successfully: load '~user/misc/pacman.ijs' NB. edited copy cocurrent 'jpacman' NB. Switch to jpacman locale The verb "log" is used frequently to give progress updates in the GUI. Setting the noun "LOG" to 0 prevents wd calls from being made that are not available in jconsole. LOG=: 0 Run necessary bits of runpacman2 to initialise Package Manager: readconfig'' setfiles '' readlocal'' getserver'' Now it is possible to install addons: install_addon each 'tables/csv';'tables/dsv' And update the base library: install_library'' ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
