how java is platform independent?
44070
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).
1058815
No you can't develop java programs only with JRE. You will need JDK for compiling your programs. JRE provides only runtime environment,but JDK is something you will need to compile your code to make them executable by your JRE . You will need javac for compiling your code which is present in JDK .
1253769
So Java is both compiled as well as an interpreted language. On the other hand, C++ executes the code by using only a compiler. The C++ compiler compiles and converts the source code into the machine code. That's why c++ is faster than Java but not platform-independent.
533811
AWT was platform dependent, which means a program written in AWT behaves differently in different platforms. ... A swing application developed on one platform behaves the same on any other platform in which Java is installed. Hence today almost all Java programmers prefer Swing over AWT for GUI development.
100640
Which among the following doesn't come under OOP concept? Explanation: Platform independence is not feature of OOP. C++ supports OOP but it's not a platform independent language. Platform independence depends on programming language.
653555
['1.1 Simple. Java is straightforward to use, write, compile, debug, and learn than alternative programming languages. ... ', '1.2 Object-Oriented. It permits you to form standard programs and reusable code.', '1.3 Platform-Independent. ... ', '1.4 Distributed computing. ... ', '1.5 Secure. ... ', '1.6 Memory allocation. ... ', '1.7 Multithreaded.']
89114
If your system has an up-to-date JDK installed, you won't need to install it again. The JDK provides tools, such as the Java compiler, used by IDEs and SDKs for developing Java programs. The JDK also contains a Java Runtime Environment (JRE), which enables Java programs, such as Eclipse, to run on your system.
1327985
JVM i.e. Java virtual machine is an interpreter which interprets the byte code. Bytecode make Java a platform independent language. Compiler reads entire code at a time. Interpreter reads code line by line take more time to check.
542533
This version is mainly used for Java application development alongside tools like Core Java, console platform, etc. ... Eclipse for Java offers you a development environment for basic Java programming. If you want to use Java for development, the platform suggests you download the IDE for the specific Java package.
653989
['The Java Virtual Machine.', 'The Java Application Programming Interface (API)']
227063
"No JVM could be found in your system. Please define EXE4J_JAVA_HOME to point to an installed 32-bit JDK or JRE or download a JRE from www.java.com" It seems like the latest version of the java.exe is now 7.0.
1163219
JDK includes the JRE plus command-line development tools such as compilers and debuggers that are necessary or useful for developing applets and applications. JRE is basically the Java Virtual Machine where your Java programs run on.
1179073
You can declare classes, create objects inside classes, and interact between two objects. Platform-Independent: Java offers the comfort of write program once and run on any hardware and software platform and any Java compatible browser. This gives the ability to move easily from one computer system to another.
1353649
By default, Eclipse scans your PATH and looks for any JRE if it founds suitable JRE then it runs otherwise it throws "A java Runtime Environment (JRE) or Java Development kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found".
471400
If you want to use Java for free for commercial use, one way of doing it is to use an Oracle JDK, Oracle's OpenJDK builds and OpenJDK from other providers. This, of course, does not include support from Oracle, however.
1218475
VB.NET is a platform dependent that can run on different versions of windows, but the mono organization found a new framework that can run on Linux too. Java is a platform independent. So, it can run on any operating system. Whereas, VB.Net uses CLR (Common Language Runtime) at runtime to execute programs.
1102782
Each Java application running uses an independent JVM. Launching multiple java processes will create JVM for you. In all you can have any number of JVM running in your machine, with even different JDK versions. How to start jvm. starts a JVM that runs the application in the supplied ("executable") JAR file.