Creating exe from javasource file


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 6 of 6

Thread: Creating exe from javasource file

  1. #1
    Raj Guest

    Creating exe from javasource file


    Hi everyone,
    How to create executable file from an existing java source file using
    java tools?

    Thanks in advance
    Enjoy life

    Raj

  2. #2
    Paul Clapham Guest

    Re: Creating exe from javasource file


    Raj <raja800@usa.net> wrote in message news:3a00f5a8$1@news.devx.com...
    >
    > Hi everyone,
    > How to create executable file from an existing java source file using
    > java tools?
    >

    You use "javac" to create a ".class" file. This is an executable file,
    provided you have a JRE (Java Runtime Environment) to execute it.




  3. #3
    Raj Guest

    Re: Creating exe from javasource file



    "Paul Clapham" <pclapham@core-mark.com> wrote:
    >
    >Raj <raja800@usa.net> wrote in message news:3a00f5a8$1@news.devx.com...
    >>
    >> Hi everyone,
    >> How to create executable file from an existing java source file using
    >> java tools?
    >>

    >You use "javac" to create a ".class" file. This is an executable file,
    >provided you have a JRE (Java Runtime Environment) to execute it.
    >
    >
    >

    I want to create binary code from the java source file using java tools.
    I came to know that there are native compilers. But is there any way by which
    we can create the binary code file using only java tools. Just as we create
    a executable file in other languages!

  4. #4
    Paul Clapham Guest

    Re: Creating exe from javasource file

    > I want to create binary code from the java source file using java tools.
    > I came to know that there are native compilers. But is there any way by

    which
    > we can create the binary code file using only java tools. Just as we

    create
    > a executable file in other languages!


    It's never a good idea to answer a newsgroup question by saying that
    something doesn't exist. So let's ask, what do you mean by "java tools"?
    Aren't those native compilers "java tools"? If you're asking whether Sun's
    JDK includes a compiler that creates native executables for a particular
    platform, the answer is clearly NO. One of the design features of Java is
    that its executables can run on any platform.



  5. #5
    Raj Guest

    Re: Creating exe from javasource file


    "Paul Clapham" <pclapham@core-mark.com> wrote:
    >> I want to create binary code from the java source file using java tools.
    >> I came to know that there are native compilers. But is there any way by

    >which
    >> we can create the binary code file using only java tools. Just as we

    >create
    >> a executable file in other languages!

    >
    >It's never a good idea to answer a newsgroup question by saying that
    >something doesn't exist. So let's ask, what do you mean by "java tools"?
    >Aren't those native compilers "java tools"? If you're asking whether Sun's
    >JDK includes a compiler that creates native executables for a particular
    >platform, the answer is clearly NO. One of the design features of Java

    is
    >that its executables can run on any platform.
    >
    >Got your message.



  6. #6
    Ravi Sankar Guest

    Re: Creating exe from javasource file


    "Raj" <raja800@usa.net> wrote:
    >
    >Hi everyone,
    > How to create executable file from an existing java source file using
    >java tools?
    >
    >Thanks in advance
    >Enjoy life
    >
    >Raj


    There is a third party tool J2EXE(small in size) to create exe files out
    of compiled class files on windows environment. It is free ware which can
    be downloaded from net. I am trying to find out the URL to download. If you
    still didn't get, let me know, meanwhile I will keep the URL for you.

    Ravi Sankar


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center