• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

plateform independence in java

 
psantosh spandey
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends,

This is the very basic question i wanna to ask.
What i want to know is what is the exact meaning of plateform independence , i mean is it processor independence, or operating system independence.
 
Manish Hatwalne
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, when you program in Java, you are programming for Java Platform all the time. And the Java platform is ported on various combinations of software (OS) and hardware. As long as Java runtime is available on a particular platform, your code should run on it, at least in theory.
For many developers though, the more significant line is - "Write once, debug everywhere!"
HTH,
- Manish
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For many developers though, the more significant line is - "Write once, debug everywhere!"

I believe that phrase was coined due to the unpredictable behavior of the AWT especially on X Window platforms. Swing has fixed most of that. Besides, even if JAVA is only 98% "Write once, run everywhere", it beats the heck out of everything else!!
Michael Morris :roll:
SCJP
 
Greg Brouelette
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Besides, even if JAVA is only 98% "Write once, run everywhere", it beats the heck out of everything else!!

So True. I first started using the Jext text editor (www.jext.org) because it worked exactly the same on both Windows and Linux. That allowed me to develop code in my favorite OS (Linux) without having to worry about learning a new editing tool.
I have written and run Java code on Windows 95/98/nt4.0/Win 2000 Linux and IBM AIX. I have not had the opportunity to use it on MacOS. Has anyone run a Java app on MacOS? I'd be interested to know if it's well supported there as well.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do a great deal of development under Mac OS X. Java programs run with no problems (that don't also manifest themselves on other platforms). Some applications I use are: CodeGuide as an IDE, Tomcat as the app server, Ant as the build tool, JEdit for general text editing, and iSqlView as a JDBC explorer.
bear
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic