answersLogoWhite

0


Best Answer

Write once run anywhere: Java is a programming language which has its own virtual machine. When you write a program using the Java language you can use it on any operating system which has Java installed. This is different to previous programs and programming languages as they were written for individual operating systems and needed to be re-written for a different operating system. For example, a while ago on mobiles, all we had was "nokia games" "sony-ericson games" "motorola games" etc.. but now we have "java games" which can run on any mobile as long as the mobile has java installed... It's clever and very handy!

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

Java is called write once and run anywhere bcoz in java we can write the program once and run on different operating systems like windows, Linux ,solaris. IT is compiled by the JVM this means java is JVM dependent and Operating System independent or platform independent .JVM converts into byte code. On every system JVM should be installed so that the output displayed according to operating system.

when the main() starts it sends to ..

main()--> JVM--->Kernel--->OS--->Processor--

|

O/P-- JVM<-- Kernel<--OS <--Processor

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

Java is not tied to a specific platform since it is based on an interpreter (Java Virtual Machine). Since the JVM is available for many platforms any programs written in Java is referred to as write once and run on any platform as long as the JVM is available for that platform.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Java runs a virtual machine which is an operating system in itself. Any operating system the java virtual machine can run on a java program can.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why java is called write once and run anywhere?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Is java fully platform independent?

Java is a platform independent language.After compiling the ".java" file ,that will be converting into the ".class" file,which is a byte code having the capability run on any OS.Basing on the concept byte code java achieving the platform independent,it leads to "Write once run anywhere".


What is the primary benefit of byte code?

The whole idea of Java - or one of the ideas, at any rate - is that it can be run anywhere. So, instead of compiling for a specific processor, the Java compiler compiles for a "generic processor", called the Java Virtual Machine. The code thus generated is called "bytecode". It can be interpreted (i.e., run) by a Java Virtual machine, these are available on different platforms.The whole idea of Java - or one of the ideas, at any rate - is that it can be run anywhere. So, instead of compiling for a specific processor, the Java compiler compiles for a "generic processor", called the Java Virtual Machine. The code thus generated is called "bytecode". It can be interpreted (i.e., run) by a Java Virtual machine, these are available on different platforms.The whole idea of Java - or one of the ideas, at any rate - is that it can be run anywhere. So, instead of compiling for a specific processor, the Java compiler compiles for a "generic processor", called the Java Virtual Machine. The code thus generated is called "bytecode". It can be interpreted (i.e., run) by a Java Virtual machine, these are available on different platforms.The whole idea of Java - or one of the ideas, at any rate - is that it can be run anywhere. So, instead of compiling for a specific processor, the Java compiler compiles for a "generic processor", called the Java Virtual Machine. The code thus generated is called "bytecode". It can be interpreted (i.e., run) by a Java Virtual machine, these are available on different platforms.


What makes JAVA a popular programming language?

Java supports object oriented programming. It also has many API( Application Programming Interface) that add to the functionality. It follows the paradigm of code once and run anywhere i.e. it is platform independent. For more information, visit the link below:


Define java virtual machine in java?

A Java Virtual Machine (JVM) is a set of computer software programs that use a virtual machine model for the execution of Java computer programs and scripts. The JVM accepts data in a form commonly referred to as Java bytecode. This language conceptually represents the instruction set of a stack-oriented, capability architecture.


Can you restart stopped thread in java?

No. Once a thread is stopped you cannot restart it.

Related questions

Why java called as platform independent?

Java is called as platform independent because it uses the WORA(Write Once and Run Anywhere) principle. Java programming language is designed to be run under any OS and that is the main advantage of it.


What is WORE in Java?

Write once, run everywhere


If JVM is available on Windows then can you run a program written in Unix?

Yes. One of the fundamental principles of Java is "write once, run anywhere." This means that Java source code can run on any platform for which a JVM exists, regardless of where the original code was developed.


Why to study java and how java came to know?

There are many reasons of studying java It is most popular programming language and according to me best language I ever used. Java is a general-purpose, concurrent, class-based, object-oriented language that is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere"


Is java fully platform independent?

Java is a platform independent language.After compiling the ".java" file ,that will be converting into the ".class" file,which is a byte code having the capability run on any OS.Basing on the concept byte code java achieving the platform independent,it leads to "Write once run anywhere".


What is Re usability in java?

Reusability in Java means that once you write some code, you can use it over and over again - if you write it so that it can be reused. For example, if you write a Enumeration-Iterator adapter, or some code that lets you treat an Enumeration - Java legacy code - as an Iterator - shiny NEW Java code - then you can use it not only in your animal simulation program, but also in your Jacuzzi interface program.


Is Java necessary for Mac?

You can indeed run Java on Mac OS. Java is not dependant on the single computer architecture but depends on the JVM (Java Virtual Machine). One of the most powerful features in Java is that it promises WORA (Write Once, Run Anywhere(eg. Mac, Windows, Unix).If you can't run java on your Mac do one of the following:- Go to Apples website -> Support -> Search for "Java for Mac"- Use the Software Update feature (available on the Apple menu) to check that you have the most up-to-date version of Java for your Mac.**From Oracles website (Java developer)


When you write an essay you should write it more than once This is called what?

rewriting


Why java called platform indeependent?

Platform independent language means once compiled you can execute the program on any platform (OS). Java is platform independent. Because the Java compiler converts the source code to bytecode, which is Intermidiate Language. Bytecode can be executed on any platform (OS) using JVM( Java Virtual Machine).


What is the primary benefit of byte code?

The whole idea of Java - or one of the ideas, at any rate - is that it can be run anywhere. So, instead of compiling for a specific processor, the Java compiler compiles for a "generic processor", called the Java Virtual Machine. The code thus generated is called "bytecode". It can be interpreted (i.e., run) by a Java Virtual machine, these are available on different platforms.The whole idea of Java - or one of the ideas, at any rate - is that it can be run anywhere. So, instead of compiling for a specific processor, the Java compiler compiles for a "generic processor", called the Java Virtual Machine. The code thus generated is called "bytecode". It can be interpreted (i.e., run) by a Java Virtual machine, these are available on different platforms.The whole idea of Java - or one of the ideas, at any rate - is that it can be run anywhere. So, instead of compiling for a specific processor, the Java compiler compiles for a "generic processor", called the Java Virtual Machine. The code thus generated is called "bytecode". It can be interpreted (i.e., run) by a Java Virtual machine, these are available on different platforms.The whole idea of Java - or one of the ideas, at any rate - is that it can be run anywhere. So, instead of compiling for a specific processor, the Java compiler compiles for a "generic processor", called the Java Virtual Machine. The code thus generated is called "bytecode". It can be interpreted (i.e., run) by a Java Virtual machine, these are available on different platforms.


What makes JAVA a popular programming language?

Java supports object oriented programming. It also has many API( Application Programming Interface) that add to the functionality. It follows the paradigm of code once and run anywhere i.e. it is platform independent. For more information, visit the link below:


How Can i compile group of java files once?

You can simply list them with spaces separating each file name: javac class1.java class2.java