answersLogoWhite

0


Best Answer

Answer

Java is platform independent while JVM is platform dependent. In Java ,you can compile code in to class file and you can run it in any OS without altering your code.But for interpreting class to bytes we need JVM .so it act as a bridge between your class file and OS. Now a days JVM is available for all OS.So Java attains platform independent.

Answer

Depending on your definitions, no language may be truly platform independent. A language like Java needs a virtual machine to run the platform independent bytecode. But this virtual machine must run natively on a given physical machine, which means that the JVM in platform dependent. If someone tells you that Java is not completely platform independent, this is probably what they are referring to.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why is Java not 100 percent platform independent?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Why java is 100 percent programming language?

There are no 'partial' programming languages.


What are the features differentiate java from c plus plus and c?

Java compiles to byte code suitable for interpretation by the Java virtual machine, whereas C and C++ both compile to native machine code. Thus C and C++ programs perform better than equivalent Java programs. However, Java programs can run on any machine with a suitable Java virtual machine implementation, which is pretty much everything these days. C and C++ programs must be compiled separately upon each supported platform, provided the source code is either generic or includes compiler directives to filter the platform-specific code. Java programs need only be compiled once, thus cross-platform development is greatly simplified, at the cost of performance. C and Java cannot really be compared since C does not support object-oriented programming concepts. C++ is object-oriented but, unlike Java, it is not 100% object-oriented as it supports the concept of primitive data types that it inherited from C. Java is more closely related to C#, which is 100% object oriented.


What are the features of java swing?

Swing is the next-generation GUI toolkit that Sun Microsystems has developed for the Java language. It is essentially a vast component framework built over parts of the older AWT component libraries used in Java 1.0 and 1.1. Swing is written in 100% Java; there are no native calls. Hence, it can run on any platform with a compatible Java virtual machine. 1. It provides Java programmers many new powerful components-- most of which we've been begging for since Java's inception. 2. It gives developers a chance to create a powerful, portable application that can not only target users on any Java-compatible platform, but also target their desired look-and-feel as well. 3. The distribution is easy to learn, but can also be used at varying levels of complexity to curtail to the programmer's wishes.


How do you say 100 percent Recyclable in French?

100 pour cent recyclabe


Is java dangerous?

Java itself is 100% safe to have installed on your computer. Programs written in Java, however, may still harm your computer. Always look for user reviews before running ANY unknown program on your computer.

Related questions

Why java is 100 percent programming language?

There are no 'partial' programming languages.


How do you write 3 percent in java?

As a text, you can simply write "3%". For calculations, you will usually have to convert this to decimal, that is, 0.03, or 3.0/100.


Why is java 100 percent portable?

Java is 100% portable only if all of the code is portable. It is possible to create non-portable Java code (through the use of "native" functions). However, Java is claimed to be highly portable because it abstracts the operating system from the application, allowing portable applications to run on many different operating systems and hardware architectures without modification. Many games written in Java, for example, will run on any device that has Java installed.


What are the features differentiate java from c plus plus and c?

Java compiles to byte code suitable for interpretation by the Java virtual machine, whereas C and C++ both compile to native machine code. Thus C and C++ programs perform better than equivalent Java programs. However, Java programs can run on any machine with a suitable Java virtual machine implementation, which is pretty much everything these days. C and C++ programs must be compiled separately upon each supported platform, provided the source code is either generic or includes compiler directives to filter the platform-specific code. Java programs need only be compiled once, thus cross-platform development is greatly simplified, at the cost of performance. C and Java cannot really be compared since C does not support object-oriented programming concepts. C++ is object-oriented but, unlike Java, it is not 100% object-oriented as it supports the concept of primitive data types that it inherited from C. Java is more closely related to C#, which is 100% object oriented.


What a correlation of 0.30 means that the independent variable explains -- percent of the variance in the dependent variable?

The independent variable explains .32*100 percent of the variance in the dependent variable.This is 9%.The explainable variance is always the square of the correlation (r).


What are the features of java swing?

Swing is the next-generation GUI toolkit that Sun Microsystems has developed for the Java language. It is essentially a vast component framework built over parts of the older AWT component libraries used in Java 1.0 and 1.1. Swing is written in 100% Java; there are no native calls. Hence, it can run on any platform with a compatible Java virtual machine. 1. It provides Java programmers many new powerful components-- most of which we've been begging for since Java's inception. 2. It gives developers a chance to create a powerful, portable application that can not only target users on any Java-compatible platform, but also target their desired look-and-feel as well. 3. The distribution is easy to learn, but can also be used at varying levels of complexity to curtail to the programmer's wishes.


What is the average percent of 100 percent 100 percent 100 percent?

100+100+100=300. 300/3 is 100


What percent is 47 percent out of 100 percent?

47 percent out of 100 percent is 47 percent (0.47 x 100 percent = 47 percent). More clearly, 47 % / 100 % = 47 / 100 = 0.47


What is 3 percent out of 100 percent?

3 percent out of 100 percent = 0.03 x 100 percent = 3 percent


What is percentage of 82.22 percent of 100 percent of 90 percent of 100 percent of 79 percent of 100 percent?

0.5845842 or 58.45842%


What is swings in java?

Swing is the next-generation GUI toolkit that Sun Microsystems has developed for the Java language. It is essentially a vast component framework built over parts of the older AWT component libraries used in Java 1.0 and 1.1. Swing is written in 100% Java; there are no native calls. Hence, it can run on any platform with a compatible Java virtual machine. 1. It provides Java programmers many new powerful components-- most of which we've been begging for since Java's inception. 2. It gives developers a chance to create a powerful, portable application that can not only target users on any Java-compatible platform, but also target their desired look-and-feel as well. 3. The distribution is easy to learn, but can also be used at varying levels of complexity to curtail to the programmer's wishes.


What percent is 12 percent of 60 percent?

12% of 60% as a percent = 100*12/100*60/100 = 7.2%12% of 60% as a percent = 100*12/100*60/100 = 7.2%12% of 60% as a percent = 100*12/100*60/100 = 7.2%12% of 60% as a percent = 100*12/100*60/100 = 7.2%