This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create exe file

 
Anil Bharadia
Greenhorn
Posts: 15
Eclipse IDE jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends, i want to create .exe file of my project because jar file can be decompiled easily.
How can i Create .exe file from .class or .jar file ?
 
Henry Wong
author
Marshal
Pie
Posts: 21123
78
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

First of all, not all Java applications can be compiled to an exe -- but if you still want to do it, then google for "Java AOT".

Henry
 
Mike Simmons
Ranch Hand
Posts: 3080
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Considering the reason Anil wants to do this, I think he might be better off forgetting about exe's and instead googling "java obfuscator". Ultimately this only makes it more difficult to reverse engineer, not impossible - but fundamentally, that's true of any software that you release to the customer's own machine.
 
Nishant Arora
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try for JNLP technology of java.
 
Dmitry Mamonov
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you really want it:

http://launch4j.sourceforge.net/ - utility
http://www.javalobby.org/articles/java2exe/ - overview
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic