File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes why java is called Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "why java is called" Watch "why java is called" New topic
Author

why java is called

iti garg
Greenhorn

Joined: Oct 03, 2008
Posts: 9
Why java is called platform independent language?
And plzz tell me which book is best for studying core java?
[ October 03, 2008: Message edited by: Bear Bibeault ]
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

This post probably belongs in 'java in general beginner'.

Java is platform independent since the class is in byte code and the JVMs are implemented independently to read the same byte code in various operating systems. So you can compile a java program in windows and run it linux without the need for any specific change.

I would suggest the head first java book or the SCJP study guide to get you up to speed in java. Good luck


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60781
    
  65

Please use real words when posting to the forums. Abbreviations such as "plzz" in place of "please" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11155
    
  16

'platform independent' is also an overloaded term. it means different things to different people.

Generally, when referring to java, it means that the compiled code, the bytecode, can run on any platform that has a JVM. i can put the exact same .class file on two different machines, with different OS, and it will run (assuming the JVM exists).

You cannot do that with a language like "C/C++". You have to compile a version of your binary specifically for each OS.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Welcome to JavaRanch!

If you are a beginner in Java, you should start with a good introductory book, like Head First Java by Sierra and Bates.

Note that books for the SCJP exam generally assume you already have this introductory foundation.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
Don't get me started about those stupid light bulbs.
 
subject: why java is called
 
Similar Threads
Java 5 Tiger
Java 5 Tiger
Re:automatic variables
java platform
middleware