This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, all: Is there a compiler that generates genuine executables native to the operating system (e.g. win32 exe files that do not require a JRE)? Is there a free one? I found some compilers but they actually require a JRE, that, to me, really defeats the purpose. I want to create some applications that will run without the installation of the JRE so I can distribute them to any user. Thanks, Howie
The PURPOSE of using Java is to make things platform independant. As soon as you make an exe out of your code you destroy the platform independancy of your code. So why even use Java? Code in c++ and compile it. You will need to make a different exe for Windows, unix, MACs etc. This creates a problem, especially if you plan to make this available from a Web Page where you do not have a CLUE has to what operating system the user has. If you INSIST on doing this thing, then do a search on this forum for .exe and compile and you will find lots of conversations about this, some of which mention products that can be used.
"JavaRanch, where the deer and the Certified play" - David O'Meara