answersLogoWhite

0

What is Java Portable?

Updated: 12/18/2022
User Avatar

Wiki User

8y ago

Best Answer

The ability to run your code which is written in a high level language without actually transforming into a different low level language based on the platform you are about to run. This is called portability.

Java is indeed known for this due to the fact that it runs on something called as an intermediate code called bytecode. JVM is the Java Virtual machine that reads the byte code and executes your application.

User Avatar

Wiki User

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

Wiki User

8y ago

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

Add your answer:

Earn +20 pts
Q: What is Java Portable?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

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.


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)


Why is java's portability better than c plus plus?

As we know that java is a plateform independent language and the main advantage of java is that it can support to any operating system and can be executed to any machines without any modifications.Due to the use of class in java it has become more easier to understand the program compared to c plus plus.Hence,java is portable than c plus plus


Why the java hybrid language?

I am not sure why you label it "hybrid". Java compiles the source code, not for a specific processor, but for what you might consider a fictitious processor. That is, it doesn't compile for the specific machine code understood by a real processor.As for the reason, that's because that's what Java is all about. Java programs are supposed to be compiled only once, and then run on any computer that has an appropriate Java runtime (the "Java Virtual Machine").


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.

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.


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.


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.


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.


What is buzz word in java define?

the Java 'white paper" buzzwords: simple object oriented network savvy robust secure architecture neutral portable interpreted hight performance multithreaded dynamic


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)


Why is java's portability better than c plus plus?

As we know that java is a plateform independent language and the main advantage of java is that it can support to any operating system and can be executed to any machines without any modifications.Due to the use of class in java it has become more easier to understand the program compared to c plus plus.Hence,java is portable than c plus plus


Why the java hybrid language?

I am not sure why you label it "hybrid". Java compiles the source code, not for a specific processor, but for what you might consider a fictitious processor. That is, it doesn't compile for the specific machine code understood by a real processor.As for the reason, that's because that's what Java is all about. Java programs are supposed to be compiled only once, and then run on any computer that has an appropriate Java runtime (the "Java Virtual Machine").