| | |
run a java program
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
At some point, Java source needs to become platform-native executable code. This typically requires a two-step process: the developer compiles his or her source into Java bytecode, and then a Java Virtual Machine (JVM) converts this into native code for the host platform. This latter step originally was performed by interpretation--taking each JVM instruction and converting it on the fly to one or more native instructions. Later, just-in-time (JIT) compilers converted all of a Java program from JVM bytecode to native code as the program started up.
so JVM is a must to run java Program....
so JVM is a must to run java Program....
Njoy koding... >>>
What part of "No" did you not understand? The "N" or the "o"?
A Java program can be converted to a native executable, however this looses all of the advantages you had from using Java in the first place, and the created native programs are, usually, no where near as efficient (in any aspect) as a normal Java Program. All of this is, of course, a moot point if you are not talking about one you are creating, but rather just something you have downloaded.
A Java program can be converted to a native executable, however this looses all of the advantages you had from using Java in the first place, and the created native programs are, usually, no where near as efficient (in any aspect) as a normal Java Program. All of this is, of course, a moot point if you are not talking about one you are creating, but rather just something you have downloaded.
Last edited by masijade; Dec 10th, 2007 at 4:52 am. Reason: typo
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
and don't forget that those "native" executables are usually exewrappers which pack a JVM together with all the classes the application need into a single executable, so when installing them you're implicitly installing a JVM...
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
![]() |
Similar Threads
- Selection Sort in java (Java)
- put the Dos 's command into java program? (Java)
- Running java command thru java program (Java)
- How to run external .exe programs from java (Java)
- Compile Java (Java)
- NewBie to Java needs some Help PLEASE!!! (Java)
- Help with simple Java IO program running under cygwin (Java)
Other Threads in the Java Forum
- Previous Thread: JTabbedPane(){
- Next Thread: Fetch one record instead of List of records
| Thread Tools | Search this Thread |
Tag cloud for Java
addressbook android api apple applet application arguments array arrays automation binary bluetooth button calculator chat class classes client code columns component converter database draw eclipse error errors event exception file fractal ftp game givemetehcodez graphics gridlayout gui helpwithhomework html ide image inetaddress input integer j2me japplet java javaprojects jme jmf jni jpanel julia link linux list loop map method methods midlethttpconnection mobile netbeans newbie number objects openjavafx oracle php print problem program programming project projects recursion rim scanner screen server set signing size smart sms socket sort sql storm string support swing test threads time tree unlimited variablebinding webservices windows






