[java] Machine Code?
Hi...
Sorry for this question, but where get I get a good compiler, that compile java to machine code under windows??
thanx alot
When you say compile to machine code, I assume you mean as an executable. Well, I know VJ++ can create an exe. Apparently so can the enterprise edition of Visual Age (however I''ve yet to try it out).
Anyways, hope that answers you''re question.
Smoo
Anyways, hope that answers you''re question.
Smoo
Well...
It does somehow... yes I also meant an .exe, but does this automatically mean it is like a compiled c/c++ file??
sorry, I am german, so I don''t know how to exactly express myself...![](smile.gif)
I asked it, because of speed... a compiled program in byte code isn''t as fast as an .exe... sometimes![](wink.gif)
But arn''t there any free compilers which work with the latest jdk??
thanx in advance...
It does somehow... yes I also meant an .exe, but does this automatically mean it is like a compiled c/c++ file??
sorry, I am german, so I don''t know how to exactly express myself...
![](smile.gif)
I asked it, because of speed... a compiled program in byte code isn''t as fast as an .exe... sometimes
![](wink.gif)
But arn''t there any free compilers which work with the latest jdk??
thanx in advance...
![](smile.gif)
ijiro, you can go to this site "http://www.excelsior-usa.com/"
Download JET compiler(better than JIT) from this site and try it out. It converts Java byte codes to native codes thus optimizing and enhancing yur program. The file is around 8mb. Its the latest native code compiler.
I have not tried this out however. JET works with the latest JDK....JDK1.3 i think. Lemme inform you first. When you install, you may have to wait for sometime before the installation gets started. The entire installation takes 30mins cuz JET tries to change some class settings.
You can also try JOVE compiler(similar to JET) but u gotta pay $785 for that.
Download JET compiler(better than JIT) from this site and try it out. It converts Java byte codes to native codes thus optimizing and enhancing yur program. The file is around 8mb. Its the latest native code compiler.
I have not tried this out however. JET works with the latest JDK....JDK1.3 i think. Lemme inform you first. When you install, you may have to wait for sometime before the installation gets started. The entire installation takes 30mins cuz JET tries to change some class settings.
You can also try JOVE compiler(similar to JET) but u gotta pay $785 for that.
WOW...
thanx... this was exactly what i was looking for![](wink.gif)
![](wink.gif)
thanx alot...
well another question.. do you think this would enable us to develop directx based games?? (there is a java api, i will look up, where to find it)
thanx... this was exactly what i was looking for
![](wink.gif)
![](wink.gif)
thanx alot...
well another question.. do you think this would enable us to develop directx based games?? (there is a java api, i will look up, where to find it)
quote:
Original post by ijiro
WOW...
thanx... this was exactly what i was looking for
thanx alot...
well another question.. do you think this would enable us to develop directx based games?? (there is a java api, i will look up, where to find it)
HELL NO, and this is a v.bad way to develope win apps, java is ment to be cross-platform.......
I think you can use directx coding in Java. I saw that coding somewhere. But i dont know much about this.
Yes you can use DirectX in Java, but you have to use Native Code (Microsoft COM) that will restrict your code to a specific platform. Sun has the Java3D API out now that uses OpenGL or DirectX, you can find it at http://www.javasoft.com in their API section. That would probably be the best way to do it.
If you want to compile code into binary and want to use DirectX then why not just build the whole game in C++?
If you want to compile code into binary and want to use DirectX then why not just build the whole game in C++?
"If you want to compile code into binary and want to use DirectX then why not just build the whole game in C++?"
Quite true. Games built in c++ is very much faster than games coded with java though its much harder and takes longer to develop games in c++. Development in java is simpler and easier compared to c++. Java is sure to catch up in speed soon.
About games being platform specific. I personally see no problem in it. Most games now are being played on windows 98 so compiling java game codes to be specific to windows doesnt host any problems. Its only a problem when yur developing some other commercial package. Pls correct me if I am wrong.
Quite true. Games built in c++ is very much faster than games coded with java though its much harder and takes longer to develop games in c++. Development in java is simpler and easier compared to c++. Java is sure to catch up in speed soon.
About games being platform specific. I personally see no problem in it. Most games now are being played on windows 98 so compiling java game codes to be specific to windows doesnt host any problems. Its only a problem when yur developing some other commercial package. Pls correct me if I am wrong.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement