tags:

views:

171

answers:

2

Possible Duplicate:
Need guidance on alternative JVMs for Apple OS X

So that's it, Apple may not be producing a JVM themselves nor shipping it with OS X anymore:

http://www.infoq.com/news/2010/10/apple-deprecates-java

We've got a huge Java application running on Windows, Linux and OS X (and OS X is a big part of our [rich] userbase), what will, as developers, our options be?

Will it be realistic to run our app on another OS X JVM (an Oracle one)?

Or is a move away from Java to be considered? If so, what would that technically mean? Try to use some automated porting tool (not unlike Excelsior Jet for Windows, is there anything similar for OS X?)? Rewrite our entire app (which would be huge) to Objective-C and maintain two different versions? (a Java one and an Objective-C one?).

We may decide to drop OS X support altogether too, at least as long as Microsoft or Oracle do not kill Java on Windows.

+1  A: 

This strongly depends if Apple will make it an optional download (like Rosetta) or completely leave it.

If it is an optional download, you are in the same situation as under Windows.

If abandoned, then you must consider if OS X is a supported platform anymore.

You may in any case strongly consider supporting the OpenJDK project which currently is the best bet for filling the void Apple is creating here.

Thorbjørn Ravn Andersen
+4  A: 

Will it be realistic to run our app on another OS X JVM (an Oracle one)?

That depends on how GUI intensive your application is, and how much you / your users care about having a fast GUI and the Mac "user experience" for the Mac version of your app.

But yes, it could be totally realistic. Wait and see what Oracle does, and in the meantime, try out Soy Latte.

Or is a move away from Java to be considered?

Depends how much effort you have to burn. And how much effort you can justify for supporting Mac users. No matter how you do it, you'll end up having to support two codebases.

We may decide to drop OS X support altogether too ...

That's realistic.

... at least as long as Microsoft or Oracle do not kill Java on Windows.

That's ridiculous FUD-mongering!

Microsoft can't do it, because they have no control of the Java codebase. (If they tried to do it by backdoor means, they'd be up against the wall for anti-trust violations ... all over the world.)

Oracle would be insane to try to do it for many reasons. Besides, they can't since the OpenJDK for Windows codebase is open source and there other existing high quality Java implementations for Windows (e.g. IBM's).

But since we're into FUD-mongering, a more likely scenario (compared to the demise of Java on Windows) is:

  1. Oracle does a deal with Apple to take over Apple's rights to the Java-on-Mac codebase.
  2. Oracle "monetizes their investment" by selling Java-on-Mac licenses to developers or end-user.

That would certainly be "in character" for Oracle, and they'd be within their rights to do this. It wouldn't make them popular with the open-source community, but the signs are that they don't really care about that.

Stephen C
I think the most likely scenario is that Oracle just takes a long time to come out with a Mac port and it's low quality (your users now have to use X11 instead of having a native app).
Gabe
@Gabe - you could be right. It depends on whether Apple would be willing to deal with Oracle, or whether this is Steve Jobs trying to close the gates to his walled garden.
Stephen C
The gates have been slowly closing for some time now (Carbon, Flash, Java). I think it's safe to say that if Apple was willing to let somebody produce a high-quality Java implementation, they would have done it years ago when they were short on cash. I'm afraid that "Write once, run anywhere" no longer fits Apple's strategy.
Gabe