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 2 a binary executable, .exe on a PC?

binary executable Java pc program
0
Posted

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

0

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

Related Questions

What is your question?

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

Experts123