The basic concept behind Java was that source code would be compiled into
bytecode that was then executed in a virtual machine. That is still how it
is generally used but there is no law stating that this MUST be true. Java
is just a programming language and it's really up to the compiler (and the
programmer using it) to dictate what is created out of the source code.
There is one compiler I know of that will compile Java into machine code,
theGNU Java Compiler (http://gcc.gnu.
long time so I can't speak to if it's current or not.
-Tom
On Mon, Mar 1, 2010 at 4:40 PM, Justin Case
<linuxopenconnection
>
>
> Hey Ashraf,
>
> From my understanding Java doesn't create .exe file. It is portable and
> doesn't need to be complied and built (machine code)for a platform.
>
> From Wikipedia under Java (programming language)
> This is achieved by compiling the Java language code to an intermediate
> representation called Java bytecode, instead of directly to
> platform-specific machine code. Java bytecode instructions are analogous to
> machine code, but are intended to be interpreted by a virtual machine (VM)
> written specifically for the host hardware.
>
> So as a result the .java files are compiled into .class (bytecode) files
> that the virtual machine is able to translate into machine code.
>
> at least that is my understanding.
>
> --- On Mon, 3/1/10, Ashraf Alkhzaleh <codelyokoo@yahoo.
> wrote:
>
> From: Ashraf Alkhzaleh <codelyokoo@yahoo.
> Subject: [Java] help
> To: Java_Official@
> Date: Monday, March 1, 2010, 12:40 PM
>
>
>
>
> can any one help me how to convert java application to
>
> excutable (.exe) program and appropriate to pc.
>
> please help in this.
>
> Work Hard you Will Get It
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>
>
[Non-text portions of this message have been removed]
Java Official Group is created for the following topics: Java 2 Enterprise Edition - J2EE, Java 2 Standard Edition - J2SE, Java 2 Micro Edition - J2ME, XML, XSL, XSD, XPATH, Web Services, Jini, JXTA for all type of Java Geeks.
Whoever posts spam / ads / job related message will be BANNED IMMEDIATELY
No comments:
Post a Comment