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.
----- Original Message -----
From: "Brian Schott" <[EMAIL PROTECTED]>
To: "Beta forum" <[email protected]>
Sent: Wednesday, February 20, 2008 12:43 AM
Subject: Re: [Jbeta] mac mbopen vs mbsave - Building Applications
labmacproblems
Eric,
When I go into the Mac terminal and issue the
command you suggest, either with or without the file name, I
get an error message and then jwd opens. The error message
looks the same to me in the two cases below.
j602/bin/jwd j602-user/projects/first/run.ijs
2008-02-20 00:27:41.357 java[385] 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 00:27:41.419 java[385] CFLog (99):
CFMessagePortCreateLocal(): failed to name Mach port
(java.ServiceProvider)
[12:27am brian~]% j602/bin/jwd
2008-02-20 00:28:07.721 java[390] 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 00:28:07.749 java[390] CFLog (99):
CFMessagePortCreateLocal(): failed to name Mach port
(java.ServiceProvider)
[12:29am brian~]%
When I give the first of the two above examples, in
the jwd session I get the following error message
immediately, without typing anything.
|file name error: script
| 0!:0 y[4!:55<'y'
For both of the two examples, if I type the
following command, the application works fine from there.
load '~user/projects/first/run.ijs'
On Tue, 19 Feb 2008, Eric Iverson wrote:
+ Those instructions from the lab are Mac specific.
+
+ The Unix (Mac and Linux) equivalent of j.exe is jwd (shell script that
runs
+ Java with the j.jar J Front End).
+
+ You need to do something like:
+
+ [5:23pm brian~]% /Users/brian/j602/bin/jwd
+ /Users/brian/j602-user/projects/first/run.ijs
+
+
+ Once you have mastered this lab and overcome all the platform specific
+ hurdles, you might want to tackle lab: Application Distribution -
Installer
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm