Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #15468

Re: Java claims WORA

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Java claims WORA
Date 2012-06-20 16:43 -0700
Organization Canadian Mind Products
Message-ID <40o4u71gpg9lmptbffe2k5e6da6ggcdo8a@4ax.com> (permalink)
References <8bc88bdc-bd63-4dd2-ba6c-cb0a7622fa1f@googlegroups.com>

Show all headers | View raw


On Wed, 20 Jun 2012 08:33:02 -0700 (PDT), owais <awais4you@gmail.com>
wrote, quoted or indirectly quoted someone who said :

>Java claims WORA (write once and run anywhere). 
>Do you agree with this statement that all java programs 
>can be run anywhere (all platforms)? Can you identify a 
>scenario where this claim may not hold true?

The caveats are:

1. If your code is written for Java 1,7 you must have a Java 1.7+
runtime.  It might not be available for a given platform.

2. a given JVM might have a bug that stops some particular program
from working.

3. If you use JNI, you must have the appropriate native code for the
given platform.

4. Java does requires the programmer to handle the WORA stuff
explicitly for file names and line separators and encodings.  Simple
programs will work fine, but more complex ones must be aware.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
If you look in a computer programmer's freezer you will find all 
kinds of containers, but none of them labeled.  They do the same thing 
creating files without labeling the encoding.  You are just supposed to 
know.  Ditto with the MIME type, the separator and comment delimiters and 
column names in CSV files.  Ditto with the endian convention.  Imagine how 
much more civilised life would have been if Martha Stewart were the first 
programmer. 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Java claims WORA owais <awais4you@gmail.com> - 2012-06-20 08:33 -0700
  Re: Java claims WORA Robert Klemme <shortcutter@googlemail.com> - 2012-06-20 09:21 -0700
  Re: Java claims WORA Gene Wirchenko <genew@ocis.net> - 2012-06-20 09:46 -0700
  Re: Java claims WORA Lew <lewbloch@gmail.com> - 2012-06-20 10:47 -0700
    Re: Java claims WORA "Mike Schilling" <mscottschilling@hotmail.com> - 2012-06-24 16:56 -0700
  Re: Java claims WORA Arne Vajhøj <arne@vajhoej.dk> - 2012-06-20 17:02 -0400
    Re: Java claims WORA glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-06-20 21:45 +0000
      Re: Java claims WORA Martin Gregorie <martin@address-in-sig.invalid> - 2012-06-20 22:25 +0000
        Re: Java claims WORA Robert Klemme <shortcutter@googlemail.com> - 2012-06-21 00:57 +0200
          Re: Java claims WORA Roedy Green <see_website@mindprod.com.invalid> - 2012-06-20 16:46 -0700
            Re: Java claims WORA David Lamb <dalamb@cs.queensu.ca> - 2012-06-20 19:56 -0400
      Re: Java claims WORA Arne Vajhøj <arne@vajhoej.dk> - 2012-06-20 19:16 -0400
        Re: Java claims WORA "Mike Schilling" <mscottschilling@hotmail.com> - 2012-06-24 16:58 -0700
  Re: Java claims WORA Roedy Green <see_website@mindprod.com.invalid> - 2012-06-20 16:43 -0700
    Re: Java claims WORA Arne Vajhøj <arne@vajhoej.dk> - 2012-06-20 20:30 -0400
    Re: Java claims WORA Roedy Green <see_website@mindprod.com.invalid> - 2012-06-20 18:37 -0700
      Re: Java claims WORA Arne Vajhøj <arne@vajhoej.dk> - 2012-06-20 21:47 -0400
  Re: Java claims WORA Thomas Richter <thor@math.tu-berlin.de> - 2012-06-22 19:18 +0200
    Re: Java claims WORA "John B. Matthews" <nospam@nospam.invalid> - 2012-06-22 15:59 -0400
      Re: Java claims WORA Roedy Green <see_website@mindprod.com.invalid> - 2012-06-24 04:43 -0700
        Re: Java claims WORA "John B. Matthews" <nospam@nospam.invalid> - 2012-06-24 18:51 -0400
          Re: Java claims WORA Lew <noone@lewscanon.com> - 2012-06-24 23:27 -0700
            Re: Java claims WORA "John B. Matthews" <nospam@nospam.invalid> - 2012-06-26 15:43 -0400
    Re: Java claims WORA Jim Janney <jjanney@shell.xmission.com> - 2012-06-22 18:23 -0600
  Re: Java claims WORA Jan Burse <janburse@fastmail.fm> - 2012-06-22 21:40 +0200
    Re: Java claims WORA David Lamb <dalamb@cs.queensu.ca> - 2012-06-25 09:57 -0400
      Re: Java claims WORA Jan Burse <janburse@fastmail.fm> - 2012-06-25 20:34 +0200
        Re: Java claims WORA Jan Burse <janburse@fastmail.fm> - 2012-06-25 20:44 +0200

csiph-web