[clug] Why isn't Java popular on the Linux Desktop?

Sam Couter sam at couter.id.au
Wed Jul 15 03:24:27 MDT 2009


Hugh Fisher <hugh.fisher at anu.edu.au> wrote:
> A further annoyance is the Java Native Interface for calling
> platform native C code, which seemed to be expressly designed
> to discourage you from doing so.

Funny you should say that... it's true. Native code isn't cross-platform
and breaks "Write Once, Run Anywhere". It's also much easier to write
bugs that affect security (eg, buffer overruns) and stability and crash
the JVM using native code. You know who'd get blamed for that.

> (Microsoft evidently took
> notes because in C# it's much easier.)

Microsoft *wants* you to write native, unportable code. They've always
been very promiscuous when it comes to mixing development technologies.
C, C++, VB and J++ all mix it up using COM, DCOM, ActiveX and now .Net
assemblies or whatever they're called.
-- 
Sam Couter         |  mailto:sam at couter.id.au
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/linux/attachments/20090715/63ce6a93/attachment.pgp>


More information about the linux mailing list