2 Replies - 8214 Views - Last Post: 28 January 2012 - 07:37 AM Rate Topic: -----

#1 bita  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 190
  • Joined: 21-April 09

How to convert a code to .exe file?

Posted 28 January 2012 - 05:36 AM

Hi all,

I've written code in java, and now I want to convert it to an exe file, so by just double clicking on it the code be implemented, but I don't know how.would you please help me with it.

Thanks in advance.
Sophia
Is This A Good Question/Topic? 0
  • +

Replies To: How to convert a code to .exe file?

#2 htc(hot-taco-cheese)  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 17
  • View blog
  • Posts: 71
  • Joined: 04-December 10

Re: How to convert a code to .exe file?

Posted 28 January 2012 - 05:53 AM

Probably not the best forum to post this in, but oh well.

You don't use exe's in Java. You package them as jar's. Check out this link on creating jars. Once you do that, you will be able to run your code with a simple double click.

This post has been edited by htc(hot-taco-cheese): 28 January 2012 - 05:54 AM

Was This Post Helpful? 2
  • +
  • -

#3 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6036
  • View blog
  • Posts: 23,422
  • Joined: 23-August 08

Re: How to convert a code to .exe file?

Posted 28 January 2012 - 07:37 AM

Moved to Java (and then closed as a duplicate)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1