At 12:22 +0800 2009/08/22, bill lam wrote: >Under linux, I cannot run jconsole shell scripts. Jconsole just gave >error message. What is the correct way to do it? > >$ cat ~/bin/jtest >#!/home/bill/share/jsoftware/j602/bin/jconsole >stdout 'hello', LF > >$ jtest >|file name error: script >| 0!:0 y[4!:55<'y' >
jconsole is failing to find profile.ijs and/or profilex.ijs - you can avoid j looking by using .../bin/jconsole -jprofile But, of course, you would be missing things like stdout and LF... I use profilex.ijs (there is a template file in the distribution) to override loading profile.ijs, choosing my own profile instead. There is a lot of flexibility - the assumption is that the files are in place (unless you avoid the profile on startup with -jprofile ) - joey ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
