Sunday, August 2, 2009

How do you compile Java to native code?

I hate Jar files, classpaths and the JVM. All Java desktop programs have unacceptable startup times and huge memory footprints. I have searched for ages and found not a single no-nonsense method to compile Java to native code, so I'm seriously considering to desert to C# and .Net, just because of that. Do you know of any solution?

How do you compile Java to native code?
I think thats just a downside with Java you gotta live with if you use it.. just as the downside of C is that it would have to be compiled seperately for any different system you'd wanna run it on. im sure there are better languages out there, java was never designed to be user friendly in the first place!
Reply:lol you think that stuff is bad for java, try a language that doesnt even compile to bytecode
Reply:You can use the ANT tool to do the process of compiling java files and create a jar file. It also does some other stuff. Just check it here:








http://ant.apache.org








Good luck


No comments:

Post a Comment