Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple deprecates Java, what are our technical options as programmers? [duplicate]

Tags:

java

macos

oracle

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.

like image 702
SyntaxT3rr0r Avatar asked Oct 26 '10 05:10

SyntaxT3rr0r


2 Answers

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 (in theory) because 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 end of the world" for 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.

like image 122
Stephen C Avatar answered Sep 27 '22 22:09

Stephen C


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.

like image 37
Thorbjørn Ravn Andersen Avatar answered Sep 28 '22 00:09

Thorbjørn Ravn Andersen