Re: X11 and Rosetta



In article <1h9mdk6.s4nptr34qie3N%nospam@xxxxxxxxxxxxx>,
nospam@xxxxxxxxxxxxx (Richard E Maine) wrote:

> But if [Rosetta requires finder launch] is so, someone please let me know soon. Bad as the news would
> be, it would be even worse not to know. :-(

Rosetta works far below the level of the finder. Most of the machine
does not even know that it has such an emulator, or that it is running
emulated content.

A non-working app fails for one reason, usually. Apps either run
entirely native, or entirely under Rosetta. In other words, it either
spins up at the start, or it never does.

Java, for example, always runs natively. Thus, a java app that loads a
library via JNI after launch is running x86 code. If that library is a
PPC library, then it will not work, because Rosetta did not start at app
launch. That train will have already left the station.

Some universal apps could be made that went either way, and thus support
such plugins, but that would be up to the app vendor to figure out. I
suspect that most would rather have plugins ported too, so they can get
maximum performance.

Which brings us to Matlab. It has a C++ backend, and a Java front end.
It will almost certainly not work until they recompile the backend to a
universal binary, which will then work fine with the Java front end. It
would be interesting to send the -nojvm flag to it on an intel machine,
which would not use the Java front end, and see if it does work.

Similarly, if OpenOffice fails, it is likely because of some similar
combination of ppc libraries and universal or java front ends. I
suspect that most X11 apps work just fine, as they are not part of the
same process space. They are separate, often C++, apps that are
launched by the X11 launcher (xterm, etc.), but they are not _part_ of
that launcher.

Scott

--
Scott Ellsworth
scott@xxxxxxxxxxxxxxxxx
Java and database consulting for the life sciences
.



Relevant Pages

  • Re: calling java class from web page
    ... When I run either a batch file or .net console app from the command line ... java application launches correctly and runs the Pro/E program as desired. ... I have a web interface that needs to launch a java application. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Launching a JAVAW application
    ... I have attempted to initiate the javaws app via the ... that there is no luck in achieving a launch. ... I will keep plugging away at this in the hope I can avoid the java ...
    (comp.lang.java.programmer)
  • stdin/stdout Redirection
    ... WIN32 group - but because its to do with the use of Java I hope in the ... I am planning on an app that allows other people exe's to communicate ... main app will launch the exe and as such will be able to have the stdin ...
    (comp.lang.java.programmer)
  • Java App CD Deployment...
    ... I am developing a simple Java Stand Alone App that shall be deployed on a CD ... The App will have a few menu selections that shall launch System Apps like ... the CD and execute the App from the CD. ...
    (comp.lang.java.programmer)
  • Re: Launching an app under Vista with UAP enabled
    ... prompts the user for permission before running th e app. ... We really need a way to launch an app without user ... The following "execute" function is used to launch an app using the ... bSuccess = OpenThreadToken( ...
    (microsoft.public.development.device.drivers)