Results 1 to 5 of 5
  1. #1
    pheonix is offline Member
    Join Date
    Apr 2008
    Posts
    42
    Rep Power
    0

    Default Making the program

    Hey,

    I wanted to know, after I complete my program how can I run it in other machines as .exe or make it run on cell phones and such ...

    thank you

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default

    There are programs that will create .exe files (Google turns them up very easily). But note they are only runnable on Windows machines, the software that does the conversion is of variable quality and the best costs $$$.

    A better approach might be to create a jar file.

    Installing a program on a cell phone can be a more elaborate procedure - but any J2ME tutorial should cover this.

  3. #3
    markw8500's Avatar
    markw8500 is offline Senior Member
    Join Date
    Jul 2008
    Location
    Pennsylvania, USA
    Posts
    136
    Rep Power
    0

    Default

    See this post to make an .exe.... Not sure how to make it run on a cell phone...
    Who Cares... As Long As It Works...

  4. #4
    OrangeDog's Avatar
    OrangeDog is offline Senior Member
    Join Date
    Jan 2009
    Location
    Cambridge, UK
    Posts
    838
    Rep Power
    6

    Default

    The point is that you probably never want to make a .exe of a Java program, this completely defeats the purpose of programming in Java. If you want a similar language that compiles to native non-portable code then use Visual J# or something. Jar files will run on any platform that has a JVM installed. If usability is your worry, then just make a shortcut that runs
    Java Code:
    java (or javaw) -jar app.jar
    Most cell phone OS run the jar as well. As above, check a J2ME guide.
    Last edited by OrangeDog; 04-18-2009 at 12:48 AM.
    Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
    How To Ask Questions The Smart Way

  5. #5
    pheonix is offline Member
    Join Date
    Apr 2008
    Posts
    42
    Rep Power
    0

Similar Threads

  1. [SOLVED] Making a program to open a file (.exe)
    By linux1man in forum New To Java
    Replies: 9
    Last Post: 12-23-2008, 12:27 AM
  2. Help Making a program not crash
    By Lifeis2evil in forum New To Java
    Replies: 2
    Last Post: 12-10-2008, 03:10 AM
  3. Need help with Java classes for making a program.
    By TheDarkReverend in forum Advanced Java
    Replies: 2
    Last Post: 11-28-2008, 04:50 AM
  4. [SOLVED] Making JAVA Program excutable
    By kirly in forum Advanced Java
    Replies: 10
    Last Post: 10-07-2008, 03:57 AM
  5. code for making a java swing program a demo verson
    By fakhruddin in forum AWT / Swing
    Replies: 1
    Last Post: 11-27-2007, 08:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •