[kepler-dev] [Bug 3369] New: - Kepler will not start (OS X 10.52) as JavaApplicationStub is not executable

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Jun 5 22:19:35 PDT 2008


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3369

           Summary: Kepler will not start (OS X 10.52) as
                    JavaApplicationStub is not executable
           Product: Kepler
           Version: 1.0.0rc1
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: critical
          Priority: P1
         Component: installer
        AssignedTo: higgins at nceas.ucsb.edu
        ReportedBy: srj at unc.edu
         QAContact: kepler-dev at ecoinformatics.org


As installed, I could not run Kepler at all. Nothing in the GUI indicated why
it didn't start, but a permission error is generated to the console. I think
the Kepler.app/Contents/MacOS/JavaApplicationStub needs to be executable. As
installed it was not. When I set the permissons to executable, it worked. In
summary the work-arround was:

sudo chmod +x
/Applications/Kepler/Kepler.app/Contents/MacOS/JavaApplicationStub

I am using:
   Mac OsX Leopard 10.5.2 on an (Intel based) MacBook Pro.
   Java version "1.5.0_13"
   Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
   Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)

Associated error reported as a console message:
   com.apple.launchd[71] ([0x0-0x97097].Kepler[989])
  
posix_spawnp("/Applications/Kepler/Kepler.app/Contents/MacOS/JavaApplicationStub",
...): Permission denied

As a side note (and possible avoiding future problems), I wanted to pass along
some of the information I found while investigating this. I ran into all kinds
of information on OS X "system specific" java dependencies. When applied to OS
X, "write once, run everywhere" seems to have left out a piece in the middle -
"package separately for every version and every system". I don't know how the
Kepler bundle for mac is created, but the JavaApplicationStub file appears to
be copied from the OS by the Jar Bundler application, and this can be different
on different versions of mac, especially between PPC and INTEL versions. What
that means is not clear to me, but it seems to have caused problems in the past
for other people. Using Eclipse to diff my system framework version and the one
provided with Kepler indicated small differences between the two binary files,
unfortunately none in clear ascii-translatable regions.

There is also a "JavaApplicationStub64" that complicates things going forward.
A web page explaining some of the background is
http://developer.apple.com/java/javaleopard.html. I have never seen such a
short Google listing as generated for a single term as for
"JavaApplicationStub64". 17 hits, with only 9 in english.

Thanks for the interesting application. I am looking forward to working with
this.


More information about the Kepler-dev mailing list