Well, look at javac, it's a so called "self-executable" and it's
basically Java. You can take a look at the code downloading the
Solaris JDK. It's basically a C program that parses the command-line,
starts the JVM and passes to it a given class to run.

--Paolo


>>>>> "RK" == Riyad Kalla <[EMAIL PROTECTED]> writes:

    RK> Is there a way to make a java program self executable on
    RK> linux? I know on the window platform some programs do, or
    RK> atleast used to compile into native code for you if you
    RK> wanted. But I was just wondering if this was an option on a
    RK> linux box so incase I wanted to distribute the file, i could
    RK> distribute it as a binary as well as source (for people that
    RK> wouldn't know hwo to compile it, etc. etc.)

    RK> Thanks!

    RK> -- (: Riyad Kalla :) (: CS Major - U of A :) (:
    RK> http://www.u.arizona.edu/~rsk :)




    RK> ----------------------------------------------------------------------
    RK> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
    RK> with a subject of "unsubscribe". Trouble? Contact
    RK> [EMAIL PROTECTED]



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to