.exe file

how to create a .exe file in java

Page 1 of 1

5 Replies - 1461 Views - Last Post: 27 January 2009 - 04:36 PM Rate Topic: -----

#1 narasingh.patro  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 27-January 09

.exe file

Post icon  Posted 27 January 2009 - 11:45 AM

pls give some tips and way of creating a .exe file in java
Is This A Good Question/Topic? 0
  • +

Replies To: .exe file

#2 markhazlett9  Icon User is offline

  • Coding is a lifestyle
  • member icon

Reputation: 60
  • View blog
  • Posts: 1,666
  • Joined: 12-July 08

Re: .exe file

Posted 27 January 2009 - 11:50 AM

You can't create an exe with java code... but if you export a runnable jar then you can use exe4J which is basically a wizard for creating an exe with java files.
Was This Post Helpful? 1

#3 TriggaMike  Icon User is offline

  • Using up all your 1's and 0's
  • member icon

Reputation: 85
  • View blog
  • Posts: 1,103
  • Joined: 26-September 08

Re: .exe file

Posted 27 January 2009 - 11:52 AM

Try this.
Was This Post Helpful? 0
  • +
  • -

#4 abgorn  Icon User is offline

  • sudo apt-get install brain
  • member icon

Reputation: 30
  • View blog
  • Posts: 1,410
  • Joined: 05-June 08

Re: .exe file

Posted 27 January 2009 - 04:16 PM

View Postmarkhazlett9, on 27 Jan, 2009 - 10:50 AM, said:

You can't create an exe with java code...

What? Of coarse you can make an exe from Java code! All you need is a native compiler, but some compile without the Java bytecode compiler completly and others wrap it in some type of C code (they use JARs).
Was This Post Helpful? 0
  • +
  • -

#5 markhazlett9  Icon User is offline

  • Coding is a lifestyle
  • member icon

Reputation: 60
  • View blog
  • Posts: 1,666
  • Joined: 12-July 08

Re: .exe file

Posted 27 January 2009 - 04:19 PM

But you can't do it directly with java code...
Was This Post Helpful? 0
  • +
  • -

#6 abgorn  Icon User is offline

  • sudo apt-get install brain
  • member icon

Reputation: 30
  • View blog
  • Posts: 1,410
  • Joined: 05-June 08

Re: .exe file

Posted 27 January 2009 - 04:36 PM

View Postmarkhazlett9, on 27 Jan, 2009 - 03:19 PM, said:

But you can't do it directly with java code...

If you mean with a .java file, yes you can.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1