Results 1 to 2 of 2

Thread: Can I create EXE file in Java?

  1. #1

    Thread Starter
    Fanatic Member sbasak's Avatar
    Join Date
    Aug 2001
    Location
    Globe Trotter
    Posts
    524

    Can I create EXE file in Java?

    Since Java bycode usually runs thru interpreter thus a lot slower than compiled code, can I write any EXE file using Java?
    Life is a one way journey, not a destination. Travel it with a smile and never regret anything.
    Yesterday is history, tomorrow is a mystery, today is gift - that's why we call it present.

  2. #2
    Hyperactive Member bsw2112's Avatar
    Join Date
    Nov 2001
    Location
    ottawa, canada
    Posts
    292
    I got this at another form i frequent
    read the third paragraph

    Distributions on Windows from Win98 to Win2K ship with the Java Virtual Machine. However because Microsoft is in fierce competition with Sun, the makers of Java, they only shipped version 1.0 of the JVM, which is outdated and quite slow. They announced at the realease on WinXP that from now on they won't even distribute it. This means that a good proportion of Windows users have Java (the VM only, not the full SDK) on their machine, but it's an old version; it also means XP users need to install it themselves.

    Some programs are bundled with a JVM executable, so that they can be run on all systems. Most programs simply give their users a link to Sun's JRE installation page or browser plugin page.

    There are Java compilers which create Windows executables from Java code. However most of them put restrictions on what can be compiled and what can't, and furthermore it's destroying the main advantage of Java, namely portability. You can simply tell the users of your programs where they can install Java - it's a quite simple process, esp. installing the plugin, and you only need to do it once.


    bsw

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