How to convert a java class into an .exe file in windows or unix based OSes?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: How to convert a java class into an .exe file in windows or unix based OSes?

Hybrid View

  1. #1
    Nik Guest

    How to convert a java class into an .exe file in windows or unix based OSes?


    Hi,
    Can one convert a java class file into an exe .I know doing this is against
    the whole point in using java to write such a code but some performance gains
    might be possible if we get a direct exe which does not have to be interpreted
    everytime.
    Please help me out !!!
    Any suggestion will be welcome!!
    Thanx in advance!!


  2. #2
    Rick Guest

    Re: How to convert a java class into an .exe file in windows or unix based OSes?


    J++ will do the job for you

    "Nik" <nikcom78@yahoo.com> wrote:
    >
    >Hi,
    >Can one convert a java class file into an exe .I know doing this is against
    >the whole point in using java to write such a code but some performance

    gains
    >might be possible if we get a direct exe which does not have to be interpreted
    >everytime.
    >Please help me out !!!
    >Any suggestion will be welcome!!
    >Thanx in advance!!
    >



  3. #3
    CWRobin6971 Guest

    Re: How to convert a java class into an .exe file in windows or unix based OSes?


    "Nik" <nikcom78@yahoo.com> wrote:
    >
    >Hi,
    >Can one convert a java class file into an exe .I know doing this is against
    >the whole point in using java to write such a code but some performance

    gains
    >might be possible if we get a direct exe which does not have to be interpreted
    >everytime.
    >Please help me out !!!
    >Any suggestion will be welcome!!
    >Thanx in advance!!
    >

    Go take a look at Visual Cafe from WebGain... Uses the Symantec C/C++
    compiler to turn Java in to a native Win32 app.

  4. #4
    npguy Guest

    Re: How to convert a java class into an .exe file in windows or unix based OSes?


    Any major drawbacks with such compiler while producing EXE. Does the sizes
    & speed are greatly vary with C/C++ compiler.

    and also Any brenhmark testing on SPEED.

    "CWRobin6971" <cwrobin@hotmail.com> wrote:
    >
    >"Nik" <nikcom78@yahoo.com> wrote:
    >>
    >>Hi,
    >>Can one convert a java class file into an exe .I know doing this is against
    >>the whole point in using java to write such a code but some performance

    >gains
    >>might be possible if we get a direct exe which does not have to be interpreted
    >>everytime.
    >>Please help me out !!!
    >>Any suggestion will be welcome!!
    >>Thanx in advance!!
    >>

    > Go take a look at Visual Cafe from WebGain... Uses the Symantec C/C++
    >compiler to turn Java in to a native Win32 app.



  5. #5
    Sonali Guest

    Re: How to convert a java class into an .exe file in windows or unix based OSes?


    Hi,

    This is a very common question asked in the comp.lang.java newsgroup. Its
    often useful to have an executable application when deploying your applications
    to a specific platform, but remember to make your .class files available
    for users running Unix/Macintosh/other platforms.

    Microsoft provide a free system development kit (SDK), for Java, which includes
    the jexegen tool. This will convert class files into a .EXE form. The only
    disadvantage is that users need a Microsoft Java Virtual Machine (JVM) installed.
    If your target platform is Win32, you can either redistribute the virtual
    machine, or raise the level of your system requirements, to include Windows
    98, or Windows 95 with Internet Explorer 4. Systems matching these requirements
    will already have a copy of the Microsoft Java Virtual Machine installed.

    Note : You must specify all of the class files your application needs (except
    for standard java packages) as a parameter, so if you have third party libraries,
    you'll need to include them as well. You can use wildcards * though, and
    you don't need the original source code.

    or try this link
    http://www.excelsior-usa.com/jet.html
    There r many ways 2 convert .class into .exe.
    some of them r listed above


    Thanks
    Sonali


    "Nik" <nikcom78@yahoo.com> wrote:
    >
    >Hi,
    >Can one convert a java class file into an exe .I know doing this is against
    >the whole point in using java to write such a code but some performance

    gains
    >might be possible if we get a direct exe which does not have to be interpreted
    >everytime.
    >Please help me out !!!
    >Any suggestion will be welcome!!
    >Thanx in advance!!
    >



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