answersLogoWhite

0


Best Answer

Java is portable because it does not compile machine level code, like most compliers, but instead makes bit level code. Because of this, to run a Java program all you need is an interpreter on your platform (be it a web browser, operating system, or cell phone) to run the code.

User Avatar

Wiki User

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

Wiki User

14y ago

Java is a programming language developed by Sun Microsystems. It can be used across different platforms such as PCs, mobile phones, games consoles etc.

It is portable, at the object (or byte code) level, because it runs on a virtual machine that performs the same operations no matter what computer or operating system it is running on. Java Virtual Machines, or Java Run-Time Environments, do have different versions, and portability depends on having a compatible version installed on the target machine.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago
AnswerAnswerIt means that Java can run on nearly every type of hardware and operating system.

Java is known as a "portable language" because Java code can execute on all major platforms. What's more, once you've compiled your Java source to "byte-code" .class, those files can be used on any Java-supported platform without modification, unlike many other languages, which require compiling "machine code" for each platform, e.g. a separate ".exe" for 32-bit vs 64-bit environments.

Another meaning of "portable", used mainly in Windows environments, means that the Java run-time environment can be run from any arbitrary location in your filesystem and does not need to be "installed", that is, have important information stored in the Windows registry. This is also true for most Java applications, and enables them to be run from different drive letters, via for example an external storage device like a USB flash drive from any computer without having to install the application first.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

Java is portable in the sense that it is not specific to any one operating system. Any platform can execute Java software assuming that platform has a JVM.

In a more literal sense, Java also offers some convenient ways to port software - packages and JAR files for example.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

java is a portable language i.e. it can be moved from one platform to other and can be executed there.java program is compiled which creates a .class file.this file now needs jvm to run it.jvm is nothing but any operating system with interpreter to read this byte code.a java .class file can be run on any o.s.......so, we can say java is machine independent.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Because it is. Once you write a Java program, it can be run anywhere where a Java Virtual Machine, that is, the Java runtime environment, is installed - and this is available for free, for many different platforms.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

In theory any device that runs Java, can run any java program, regardless of what the device is. There's no need to recompile, reinterpret, for a different device. So it's a portable language, the programs can be ported effortlessly.

This answer is:
User Avatar

User Avatar

Safren Brown

Lvl 4
3y ago

Java program is executed by the JVM.

The JVM prevent java code from generating side effects outside of the system.

Safety is also enhanced by certain restrictions that exist in the Java language.

C. Interpreter are slower than Compiler

Java Code is Executed by JVM (interpreter).Other programming language uses compiler which can create executable code much faster then why we are using Interpreter.

When a program is interpreted, it generally runs slower than the same program would run if compiled to executable code.

In Java Compiler will generate ByteCode which is highly optimized.

Thus running highly optimized code using interpreter makes execution of java program faster.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does it mean to say that Java is portable?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Would you select c plus plus or java in 11 class?

Its really a matter of opinion. I prefer C++ to Java but that doesn't mean C++ is always better than Java. C++ can be rather hard to learn if you are new to it but it is a very rewarding language. On the other hand, Java is very portable and is used in just about all Android phones (I don't know enough to say whether or not all of them use java.) Anyway, if it is system development or game development you are going for, C++ is a great choice, providing low level access to the computer and providing fast speed if the code is written well. Java is a good portable language that is compiled to computer code using the Java Virtual Machine which compiles it to computer readable code and then runs which makes it portable. In the case of Java, mobile phone apps, web apps and games (most well known being Minecraft) are available to you. It all depends on what you want, hopefully with the information I have give you you can make and informed decision.


Java full from?

Java is not an abbreviation. Java does not expand itself into anything. It is a programming language that is portable, platform independent and object oriented. It is used widely in computer software and in enterprise class applications all over the world.


What is subroutine in java?

Subroutine mean what (in java)?


What do you mean by multithread program in java?

A Program in Java that spawns multiple threads is called a multithreaded program in Java.


How can you make a graphics program portable?

Any program can become portable (if that means multi-platform) by rewritting in a programming language like Java and including the jvm with the program First, use a portable programming language and associated portable libraries. Java is one, others are C/C++, FreeBASIC, The suite of GCC when coupled with Cygwin. There are many portable graphics libraries to use. A few are: Simple Direct Media Layer (Video, Audio and Input) OpenGL 2d & 3d Graphics Included with almost ALL systems MESA (A layer on top of OpenGL)

Related questions

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.


Why needed java?

Becose Java is Secure and portable............. Deepesh Singh deepesh.singh1@gmail.com


What is the basic of java?

java buzzwords like simple , Secure , Portable, Object-Oriented, Robust, Dynamic, etc............


What is the programming language for apple apps?

Usually C++ or Java. Java is mostly used in mobile devices because of its highly portable (cross-platform) nature. C++ code is faster and is just as portable as Java but must be compiled separately for each platform. Java apps need only be compiled once for all platforms.


Would you select c plus plus or java in 11 class?

Its really a matter of opinion. I prefer C++ to Java but that doesn't mean C++ is always better than Java. C++ can be rather hard to learn if you are new to it but it is a very rewarding language. On the other hand, Java is very portable and is used in just about all Android phones (I don't know enough to say whether or not all of them use java.) Anyway, if it is system development or game development you are going for, C++ is a great choice, providing low level access to the computer and providing fast speed if the code is written well. Java is a good portable language that is compiled to computer code using the Java Virtual Machine which compiles it to computer readable code and then runs which makes it portable. In the case of Java, mobile phone apps, web apps and games (most well known being Minecraft) are available to you. It all depends on what you want, hopefully with the information I have give you you can make and informed decision.


Java full from?

Java is not an abbreviation. Java does not expand itself into anything. It is a programming language that is portable, platform independent and object oriented. It is used widely in computer software and in enterprise class applications all over the world.


What is subroutine in java?

Subroutine mean what (in java)?


How do you say portable in french?

Portable. It's the same word.


Do you need Java to play Minecraft?

Yes, as you get better and higher quailty of java and lot of memory, more faster the minecraft will run. More importantly, it is better to have the correct version of Java based up whether your operating system is 32-bit or 64-bit. I have included in the Related Links section below. There is also a program called Minecraft Portable that you can download that lets you install Minecraft onto a USB stick or other portable storage device. Minecraft can then be played on any computer, even without Java. You can also use Minecraft Portable to install Minecraft onto a computer that does not have Java or the Java is not working, or the necessary version. See the related link below for system requirements.


What is the full form of java language?

Java is not an abbreviation. Java does not expand itself into anything. It is a programming language that is portable, platform independent and object oriented. It is used widely in computer software and in enterprise class applications all over the world.


What does Systemout mean in java?

System.out refers to the Java console.


Is there such a thing as a PORTABLE LimeWire?

By definition, all Java programs, including LimeWire, are portable. Because they do not use the Win32 API directly, however, they will not work if the computer does not have a Java VM installed. In the 'Related links' section below, you will find a link to a portable version of FrostWire. FrostWire is based on the code of LimeWire and works in the exact same way, but has additional features, like a chat room.