Write once, run anywhere

T

Tim

If Java is supposed to be able to run anywhere, what is the difference
between the various application versions for each platform? Is it just
basic installation information and setup procedures?
 
S

Steve Horsley

Tim said:
If Java is supposed to be able to run anywhere, what is the difference
between the various application versions for each platform? Is it just
basic installation information and setup procedures?

Any particular application?

I know of one app that has a Windows version (.EXE), a Mac version
(dunno) and a general any-other-platform version (.jar). I think the
main difference is setting up file associations, and looking familiar to
whoever is doing the installing. Some apps may bundle native interface
code like .DLL and .so libraries for appropriate system.

Steve
 
T

Tim

For instance, Eclipse and NetBeans.

Steve said:
Any particular application?

I know of one app that has a Windows version (.EXE), a Mac version
(dunno) and a general any-other-platform version (.jar). I think the
main difference is setting up file associations, and looking familiar to
whoever is doing the installing. Some apps may bundle native interface
code like .DLL and .so libraries for appropriate system.

Steve
 
M

Michael Borgwardt

Tim said:
For instance, Eclipse and NetBeans.

Eclipse uses the SWT GUI toolkit, which is not part of J2SE and thus must be
implemented separately for each platform.

In the case of Netbeans, it's probably only for the install procedure.
 
K

Kin C. Wong

I think you've mistaken. The phrase is "Write once, debug
everywhere". :) There certainly are bugs in some versions that are
not in others, and vice versa.
 
R

Roedy Green

I think you've mistaken. The phrase is "Write once, debug
everywhere". :) There certainly are bugs in some versions that are
not in others, and vice versa.

It is more a problem with Applets where you also have browser bugs to
contend with.
 

Ask a Question

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.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top