Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I compile a Java program to a binary executable, .exe on a PC?

binary executable Java pc program
0
Posted

Can I compile a Java program to a binary executable, .exe on a PC?

0

Compiling into native code destroys portability, which is one of the main benefits of Java. If you want to create a native executable because you wanted to make it easy to distribute and use programs, consider a Jar file instead. Some companies make products that do this. See the webpages for NaturalBridge http://www.naturalbridge.com , Symantec http://www.symantec.com, JET http://www.excelsior-usa.com/jet.html , Tower Technology http://www.twr.com/. The first four are targeted to Microsoft Windows. Tower Technology supports several flavors of UNIXTM. See also Instantiations JOVE http://www.instantiations.com/jove.htm, Network World, “Vendors Rush To Speed Java Performance”, Feb 9 1998, at http://www.nwfusion.com/news/0209java.html Compiling to native code takes away the most significant benefit of Java technology: portability of executables. Further, if you want your Java DLL (or .exe) to interact with C++, you’ll have to specify which specific C++ compiler and/or actually compile som

0

Ans : Compiling into native code destroys portability, which is one of the main benefits of Java. If you want to create a native executable because you wanted to make it easy to distribute and use programs, consider a Jar file instead. Some companies make products that do this. See the webpages for Symantec , Supercede , and Tower Technology . The first two are targeted to Windows. Tower Technology supports several flavors of Unix. Also, there is a native Java compiler from IBM, known as the HPJ (High Performance Java) compiler. One user has reported that it created a 2Mb executable from a 12K java file, and did not run any faster. See http://www.alphaworks.ibm.com/ See also Instantiations JOVE , the paper about the Toba project , Network World, “Vendors Rush To Speed Java Performance”, Feb 9 1998, at http://www.nwfusion.com/news/0209java.html Compiling to native code takes away the most significant benefit of Java: portability of executables. Further, if you want your Java DLL (or .ex

0

Ans : Compiling into native code destroys portability, which is one of the main benefits of Java. If you want to create a native executable because you wanted to make it easy to distribute and use programs, consider a Jar file instead.Some companies make products that do this. See the webpages for Symantec , Supercede , and Tower Technology . The first two are targeted to Windows. Tower Technology supports several flavors of Unix. Also, there is a native Java compiler from IBM, known as the HPJ (High Performance Java) compiler. One user has reported that it created a 2Mb executable from a 12K java file, and did not run any faster. See http://www.alphaworks.ibm.com/ See also Instantiations JOVE , the paper about the Toba project , Network World, “Vendors Rush To Speed Java Performance”, Feb 9 1998, at http://www.nwfusion.com/news/0209java.html Compiling to native code takes away the most significant benefit of Java: portability of executables. Further, if you want your Java DLL (or .exe

0

Asked in Computers & Technology at 2:30 AM on December 07, 2008 Tags: compile, java, program, binary, executable, exe

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.