Is it possible to just write a Java program without using the Runtime behind it?
I.E. compile it straight to Machine Code like you would a C++ program?
Printable View
Is it possible to just write a Java program without using the Runtime behind it?
I.E. compile it straight to Machine Code like you would a C++ program?
After a Google search, this is the only compiler I found that can compile directly to machine code. I *think* your code will no longer be platform independant.
I don't know about this one but I tried other commercial tools and they produce a windows, Dos, Linux, and Solaris versions for your appQuote:
Originally Posted by System_Error
If it produces a version for each platform, then why would I be wrong? That's not a single version of code you can run across platforms... Maybe you should actually try the software instead of doing a Google search and posting what you find.Quote:
I don't know about this one but I tried other commercial tools and they produce a windows, Dos, Linux, and Solaris versions for your app
I didn't say you were wrong :D ... I still wonder what brought that to your mindQuote:
Originally Posted by System_Error
And I didn't google it I actually tried a couple of commercial products as I said before
I think these programs that compile java to machine code, just convert the java to c then to machine...
No. the JVM converts byte code to machine code on execution time, and so does those apps (most of the anyway)Quote:
Originally Posted by pgag45