Saturday, April 3, 2010

Re: [Java] help

 

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.org/java/). I've not used it for a
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@yahoo.com>wrote:

>
>
> 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.com<codelyokoo%40yahoo.com>>
> wrote:
>
> From: Ashraf Alkhzaleh <codelyokoo@yahoo.com <codelyokoo%40yahoo.com>>
> Subject: [Java] help
> To: Java_Official@yahoogroups.com <Java_Official%40yahoogroups.com>
> 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]

__._,_.___
Recent Activity:
Visit http://aiaiai.com or http://jgame.org for more groups to join.
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
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.


Welcome to Mom Connection! Share stories, news and more with moms like you.


Hobbies & Activities Zone: Find others who share your passions! Explore new interests.

.

__,_._,___

No comments:

Post a Comment