wood burning stoves*
The moose likes Beginning Java and the fly likes VERY URGENT!!!!!!!!!!!!!!!!!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "VERY URGENT!!!!!!!!!!!!!!!!!!!!" Watch "VERY URGENT!!!!!!!!!!!!!!!!!!!!" New topic
Author

VERY URGENT!!!!!!!!!!!!!!!!!!!!

PRATIBHA MATTA
Greenhorn

Joined: Jan 06, 2001
Posts: 5
What is Platform independent? Explain in detail?
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20494
    ∞

I'm moving this thread to "Java in General (beginner)"


permaculture Wood Burning Stoves 2.0 - 4-DVD set
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
platform independence is where you can be on any type of box linux, windows, solaris etc. and as long as they have a Java Virtual Machine on their box any pure java program will run.
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
platform independence is to software like asking a question and using "VERY URGENT!!!" as the topic. It can apply to anything at all.


42
PRATIBHA MATTA
Greenhorn

Joined: Jan 06, 2001
Posts: 5
THANX A LOT.........
BUT IF U TELL ME MORE SO PLEASE..........TELL ME
shree vijay
Ranch Hand

Joined: Sep 18, 2000
Posts: 208
Platform independence can be just explained by the phrase:
"write once; run anywhere"
You can write a piece of code for one platform (let us say, windows 98) and can run in any other (say Win NT,Mac) There need not be any change in code. This is the speciality of Java.
HTH,
------------------
Regards,
Shree


Regards,<BR>Shree
Sajan Joseph
Ranch Hand

Joined: Jan 05, 2001
Posts: 40
Originally posted by PRATIBHA MATTA:
THANX A LOT.........
BUT IF U TELL ME MORE SO PLEASE..........TELL ME

Dear Pratibha,
If you have done programming in any other language, you would have found that a program written in one platform cannot be run in another platform. When one says platform, it refers to both the computer hardware as well as software. For eg. a C program written and compiled in an IBM Compatible, under DOs cannot be run on a Sun Sparc station running solaris operating system. Similarly a C program written and compiled in Unix/ Linux cannot be run on a Windows machine.
Java circumvents this problem by using Java Virtual Machine and platform independent bytecodes. Normally when you compile a program in C, you get an executable file, which can be directly executed by the operating system. But when you compile Java source code, what you get is a .class file which is said to be ByteCode. To exceute this byte code, you need a virtual machine which is a software that is acting as a translator between your operating system/ hardware and your program. so your program is converted into machine code by the JVM.
This byte code/ JVM makes all java codes platform independent , that is ' Write once- in any platform, and Run anywhere - in any platform.
Hope this helps. I still wonder how urgent this was to you. Was it just a ploy to attract attention. Remeber if it is , peopple will start ignoring your messages after some time. Just like the boy who cried tiger once to often just for fun...
Cheerio,
SJ
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
I thought it was wolf....not tiger
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
Sajan Joseph
Ranch Hand

Joined: Jan 05, 2001
Posts: 40
Never mind Brett. Keep tuning your button.
SJ
Tom F
Greenhorn

Joined: Jan 10, 2001
Posts: 5
Actually it is Wolf.
Angela Poynton
Ranch Hand

Joined: Mar 02, 2000
Posts: 3143
I think there is a different interpretation of the story in different countries ... anyway please try to stick to the topic.


Pounding at a thick stone wall won't move it, sometimes, you need to step back to see the way around.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: VERY URGENT!!!!!!!!!!!!!!!!!!!!