Results 1 to 6 of 6
  1. #1
    ksaketh2 is offline Member
    Join Date
    Apr 2014
    Posts
    6
    Rep Power
    0

    Default Execution of Swing application on another pc

    Friends, I am writing a Java Swing GUI application on my pc. I have to give this application to my cousin with another pc, where he is not aware of programming. then how can he execute that application? are there any ways of skipping the "javac" and "java" procedures while executing the app on his computer? if so, can u plz suggest me some ways to do it?

    I am using win7 x86 and same at my cousin's place. I am also using eclipse-kepler sr1 ide for app development.

    are there any easy ways of automating this "javac" and "java" process(compilation and execution)? something like...scripting?

    plz suggest.

    Thanks in advance...

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    3,616
    Rep Power
    5

    Default Re: Execution of Swing application on another pc

    You can create an executable Jar file. Then all he has to do is double click it. Check out the tutorials or do a web search.

    Regards,
    Jim
    The Java™ Tutorial | SSCCE | Java Naming Conventions
    Poor planning our your part does not constitute an emergency on my part.

  3. #3
    ksaketh2 is offline Member
    Join Date
    Apr 2014
    Posts
    6
    Rep Power
    0

    Default Re: Execution of Swing application on another pc

    oh! thanks brother. I will try it...

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,014
    Rep Power
    20

    Default Re: Execution of Swing application on another pc

    Note, he will need to install the Java runtime.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  5. #5
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    3,616
    Rep Power
    5

    Default Re: Execution of Swing application on another pc

    Excellent point! I inappropriately assumed it would be there.

    Regards,
    Jim
    The Java™ Tutorial | SSCCE | Java Naming Conventions
    Poor planning our your part does not constitute an emergency on my part.

  6. #6
    ksaketh2 is offline Member
    Join Date
    Apr 2014
    Posts
    6
    Rep Power
    0

    Default Re: Execution of Swing application on another pc

    Thank you jim829 and Tolls. It's working!

Similar Threads

  1. Swing application getting odd errors
    By Zeezj in forum New To Java
    Replies: 4
    Last Post: 09-14-2011, 07:14 PM
  2. Replies: 10
    Last Post: 11-29-2010, 02:02 PM
  3. Notepad Application (Swing)
    By tmotse in forum AWT / Swing
    Replies: 4
    Last Post: 03-30-2010, 10:24 AM
  4. Design of Application (Swing/SWT)
    By tripley_1 in forum AWT / Swing
    Replies: 2
    Last Post: 12-01-2009, 05:55 PM
  5. designing application in swing
    By programmer_007 in forum AWT / Swing
    Replies: 12
    Last Post: 09-03-2009, 07:50 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
  •