Re: Java Binaries?
Re: Java Binaries?
- Subject: Re: Java Binaries?
- From: Candide Kemmler <email@hidden>
- Date: Wed, 11 Jul 2001 19:31:22 +0200
Le mercredi 11 juillet 2001, ` 06:55, Jeff Disher a icrit :
Hello,
Today I decided to try something to test how PB is
really compiling things. Java is normally compiled to
bytecode but can be compiled to binary so I was
wondering how PB did it. My hypothesis is that it
would be binary since the applications written using
the OS X APIs will only be used on Mac OS X.
So I figured I would compile Blast.app and run it from
the command line. First I tried to run the executable
with a simple "./" and it worked fine. Then I tried
to run it by invoking the VM "java" to see if OS X
just detects executable form and then invokes it
itself. Invoking the VM yielded an error 'Exception
in thread "main" java.lang.NoClassDefFoundError:
BlastApp'
I guess that indicates that it is binary.
If I am wrong, let me know but I think that this is
the first time anyone publically pointed this out. I
wonder which language of java or Obj-C creates faster
binaries now. Any ideas?
IMHO, you *are wrong. What did you try ? Something like 'java
BlastApp' ? BlastApp is probably a native application until it meets the
java "glue" that puts the pieces together. Then a JVM is invoked and
java does the job through a "Bridge" or something that calls native code
again.
Jeff.
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev