Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

native machine code

Thread view: 
ali - 19 Dec 2005 20:04 GMT
is it possible to compail the byte code to native machine code on
windows ?

and how
Thomas Kellerer - 19 Dec 2005 20:23 GMT
ali wrote on 19.12.2005 21:04:
> is it possible to compail the byte code to native machine code on
> windows ?
>
> and how

I do understand that your search in Google for compail did not return
any hits. You will probably have more luck if you search for compile

For your convenience here is the link:

http://www.google.com/search?hl=en&q=compile+java+native&btnG=Google+Search

Thomas

P.S.: I nearly forgot: if you already have the JDK installed, it
includes a native compiler: when you run your program it'll get compiled
into native code.
ali - 20 Dec 2005 05:45 GMT
thanks for the help i tried to search in google i found lots of warpers
that make exe file that run my java classes but it dont compile it to
native code

and while searching for native code compiler i got  names of some
programes like ccg and jove but ccg i couldnt find windows version for
it and the jove i think it was some old program that is no longer
available on the net !!

that why i asked here

yes you are correct JDK do the compilation ( interpration ) of the code
 while running but it do not create exe file  so each time i run java
program it has to be compiled again and again
Roedy Green - 20 Dec 2005 06:22 GMT
>and while searching for native code compiler i got  names of some
>programes like ccg and jove but ccg i couldnt find windows version for
>it and the jove i think it was some old program that is no longer
>available on the net !!

The two you want to look at are gcj and jet.
See http://mindprod.com/jgloss/jet.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

David N. Welton - 20 Dec 2005 06:45 GMT
>>and while searching for native code compiler i got  names of some
>>programes like ccg and jove but ccg i couldnt find windows version for
[quoted text clipped - 3 lines]
> The two you want to look at are gcj and jet.
> See http://mindprod.com/jgloss/jet.html

In order to actually get and use GCJ, you probably want to look into the
'cygwin' distribution for windows:

http://www.cygwin.com/

Signature

David N. Welton
- http://www.dedasys.com/davidw/

Linux, Open Source Consulting
- http://www.dedasys.com/

ali - 22 Dec 2005 06:54 GMT
ok i have instulled cygwin but i got a strange shell window when i run
it i think it is something related to unix that i am not femalier with
so how i can i get GCJ now and how to use it ?
IchBin - 22 Dec 2005 07:26 GMT
> ok i have instulled cygwin but i got a strange shell window when i run
> it i think it is something related to unix that i am not femalier with
> so how i can i get GCJ now and how to use it ?

Not sure what you are asking. Why not Just use the windows JDK 1.5.

http://www.java.com/en/download/index.jsp

Not sure why you want to run cygwin/cygwin-X on windows nor the error
message you are getting..

For GCJ http://gcc.gnu.org/java/

Signature

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)

IchBin - 22 Dec 2005 07:31 GMT
> ok i have instulled cygwin but i got a strange shell window when i run
> it i think it is something related to unix that i am not femalier with
> so how i can i get GCJ now and how to use it ?

For GCJ http://gcc.gnu.org/java/

Signature

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)

Roedy Green - 20 Dec 2005 07:01 GMT
On Tue, 20 Dec 2005 06:22:29 GMT, Roedy Green
<my_email_is_posted_on_my_website@munged.invalid> wrote, quoted or
indirectly quoted someone who said :

>>and while searching for native code compiler i got  names of some
>>programes like ccg and jove but ccg i couldnt find windows version for
[quoted text clipped - 3 lines]
>The two you want to look at are gcj and jet.
>See http://mindprod.com/jgloss/jet.html

and http://mindprod.com/jgloss/cgj.html

for the full story, see http://mindprod.com/jgloss/aot.html
and http://mindprod.com/jgloss/nativecompiler.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Roedy Green - 19 Dec 2005 21:58 GMT
>is it possible to compail the byte code to native machine code on
>windows ?

see http://mindprod.com/jgloss/nativecompiler.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

ali - 20 Dec 2005 05:49 GMT
thanks for the help the site talked about many whay s of making an exe
files for java and gave examples of compilers but the one i am
intrested in is Useing an AOT (Ahead Of Time) native compiler which it
has mentioned but didnt gave any example of compilers

so can i get more help


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.