Results 1 to 4 of 4

Thread: [RESOLVED] Application Distribution

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2006
    Posts
    24

    Resolved [RESOLVED] Application Distribution

    Can java applications be compiled into executable files???

  2. #2
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    Re: Application Distribution

    Well, Java applications ARE compiled into executables .Class files that are parsed by javas JIT compiler.

    What you're asking is wether or not you can use a windows .exe to launch your java application and the short answer is no - not natively.

    You can however, either make a batch file using windows scripting, or write a small launcher in C++/VB6/Someotherlanguagethatmakesexecutables.

    Hope it helps.
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Application Distribution

    Or you can use a java-to-native compiler, which exists. Not sure if there is a good one for Windows, but they exist.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jun 2006
    Posts
    24

    Re: Application Distribution

    thanks, that solves it. Actually i have made .bat files but it shows the runtime errors

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