|
-
Jul 12th, 2007, 06:57 PM
#1
Thread Starter
Hyperactive Member
Java without runtime?
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?
"I like to run on treadmills, because at least I know I'm getting nowhere."
- Me
-
Jul 12th, 2007, 07:52 PM
#2
Frenzied Member
Re: Java without runtime?
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.
-
Jul 13th, 2007, 06:19 AM
#3
Re: Java without runtime?
 Originally Posted by System_Error
Can you explain a little more? I don't know what files you don't want to see and what it's showing up.
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'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jul 13th, 2007, 08:11 AM
#4
Frenzied Member
Re: Java without runtime?
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
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.
-
Jul 13th, 2007, 08:20 AM
#5
Re: Java without runtime?
 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.
I didn't say you were wrong ... I still wonder what brought that to your mind
And I didn't google it I actually tried a couple of commercial products as I said before
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jul 16th, 2007, 11:14 AM
#6
Hyperactive Member
Re: Java without runtime?
I think these programs that compile java to machine code, just convert the java to c then to machine...
-
Jul 16th, 2007, 12:51 PM
#7
Re: Java without runtime?
 Originally Posted by pgag45
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)
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|