Results 1 to 7 of 7

Thread: Java without runtime?

  1. #1

    Thread Starter
    Hyperactive Member capsulecorpjx's Avatar
    Join Date
    May 2005
    Location
    Renton, WA
    Posts
    288

    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

  2. #2
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    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.

  3. #3
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Java without runtime?

    Quote 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

  4. #4
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    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.

  5. #5
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Java without runtime?

    Quote 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

  6. #6
    Hyperactive Member pgag45's Avatar
    Join Date
    Mar 2007
    Location
    Colorado
    Posts
    262

    Re: Java without runtime?

    I think these programs that compile java to machine code, just convert the java to c then to machine...

  7. #7
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Java without runtime?

    Quote 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
  •  



Click Here to Expand Forum to Full Width