Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

plateform independence in java

 
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.
 
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
 
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
 
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.
 
Marshal
Posts: 67280
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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
 
A timing clock, fuse wire, high explosives and a tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!