Two problems: yet another error in my example and tcsh vs sh.

I left out the -jijx parameter (avoid profile and ijx window). It seems your default shell is tcsh and has troubles with the ~user that doesn't happen in my sh shell. It is a mistake to mix the shell use of ~ with the jpath use of ~. It is better to use ~ just for the shell. Try the following:

[......]%    ~/j602/bin/jwd    -jijx    ~/j602-user/projects/first/run.ijs

If this doesn't work there may be some tcsh problem and you could force sh with:

[......]% sh ~/j602/bin/jwd -jijx ~/j602-user/projects/first/run.ijs


----- Original Message ----- From: "Brian Schott" <[EMAIL PROTECTED]>
To: "Beta forum" <[email protected]>
Sent: Wednesday, February 20, 2008 12:11 PM
Subject: Re: [Jbeta] mac mbopen vs mbsave - Building Applicationslabmacproblems


Still no luck with the command line as these
examples show.

[12:42am brian~]% j602/bin/jwd    ~user/projects/first/run.ijs
tcsh: Unknown user: user.
[DING! brian~]% j602/bin/jwd ~/user/projects/first/run.ijs
2008-02-20 12:01:29.186 java[971] CFLog (0): CFMessagePort:
bootstrap_register(): failed 1103 (0x44f), port = 0x10b03,
name = 'java.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2008-02-20 12:01:29.257 java[971] CFLog (99):
CFMessagePortCreateLocal(): failed to name Mach port
(java.ServiceProvider)
[12:01pm brian~]% j602/bin/jwd jpath ~user/projects/first/run.ijs
tcsh: Unknown user: user.
[12:02pm brian~]%  j602/bin/jwd ../j602-user/user/projects/first/run.ijs
2008-02-20 12:04:41.539 java[979] CFLog (0): CFMessagePort:
bootstrap_register(): failed 1103 (0x44f), port = 0x10a03,
name = 'java.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2008-02-20 12:04:41.608 java[979] CFLog (99):
CFMessagePortCreateLocal(): failed to name Mach port
(java.ServiceProvider)
[12:10pm brian~]%

(B=)

On Wed, 20 Feb 2008, Eric Iverson wrote:

+ Let's ignore the java error message for now and try to get the command line + working. I was careless in my example and will try to be more careful here.
+
+ [..... brian~]% j602/bin/jwd    ~user/projects/first/run.ijs
+
+ The j602-user/projects/first/run.ijs looks in the current directory (which
+ will be /users/brian/j602) and it won't find the file there.
+
+ In playing with this a noticed another bug that was reported some time ago + and is still on the list to be fixed for this release. The documented intent + is that when there are no more windows that the J task is terminated. This + is not currently done. So you may find that when you close your application
+ window that the J task continues to run. Your application will need an
+ explicit 2!:55'' to terminate the task. Having 2!:55 is better practice than
+ depending on the automatic termiantion but it is probalby not built into
+ your lab application.
+
+ I have seen the java errors on Mac occasionally. The seem fairly innocuous
+ and I have not been able to track them down. They only to seem to affect
+ showing an icon for the new task in the desktop dashboard.
+
----------------------------------------------------------------------
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