O
owais
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?
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?
statement that all java programs can be run anywhere (all platforms)?Java claims WORA (write once and run anywhere). Do you agree with this
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?
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?
Arne Vajhøj said:Do you agree with this statement (snip)
Java programs written and build for a specific Java version will run
where that Java version or is available (and typical also if a newer
version is available).
Java is available for all the most common platforms.
More to the point, are any still running?Most likely never for, for example, the IBM 7090. (Which would be batch
mode, and not browser/applet, but still.)
More to the point, are any still running?
So common, but not all.
Yep.
Is there Java for VAX/VMS?
As I understand it, there are web browsers that run on VMS.
Java requires IEEE floating point, so it tends not to be available
on hosts that have a different floating point format.
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?
Probably: there's nobody around any more who knows how to switch them off..
Where they the ones with the red mushroom you either pulled or pushed
for emergency power off or was that the 360?
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.
The caveats are:
for a more detailed answer see http://mindprod.com/jgloss/wora.html
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?
owais 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?
Thomas Richter said:Am 20.06.2012 17:33, schrieb owais:
Java is more like WOTA for me - write once, test everywhere. It's
quite acceptable for simple programs, but as soon as it gets more
complex than this, there are subtle differences between Java
installations on Windows and Linux, and from version to version. I've
seen cases where Java does not size windows correctly on one version,
but not on others for reasons that are not clear to me, where input
focus handling was slightly different and inconsistent, where refresh
handling and the order of requests is slightly different, where
window placement may or may not work... In theory, Java is very nice
for running everywhere, but you still need to test and need to tweak
a bit to get it working consistently.
Thomas Richter said:Am 20.06.2012 17:33, schrieb owais:
Java is more like WOTA for me - write once, test everywhere. It's
quite acceptable for simple programs, but as soon as it gets more
complex than this, there are subtle differences between Java
installations on Windows and Linux, and from version to version. I've
seen cases where Java does not size windows correctly on one version,
but not on others for reasons that are not clear to me, where input
focus handling was slightly different and inconsistent, where refresh
handling and the order of requests is slightly different, where window
placement may or may not work... In theory, Java is very nice for
running everywhere, but you still need to test and need to tweak a bit
to get it working consistently.
I'll second the need for testing, but I've found that using layouts
properly and respecting a component's preferred size greatly reduces
the number of cross-platform problems. There's a recent example here:
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.