0

I've created many small java applications, now I want to convert them to an exe without requiring jdk or jre, because I want to give the applications I've created to other people who may or may not have java installed on their system. I know few applications such as jSmooth, launch4j, exe4j etc. that can convert jar to exe but the converted exe files would require java for their execution.
I want to convert jar files into exe files in such a way that they wouldn't require java to run. How can I do it?

I am using netbeans to make java programs. I am running windows 8.

jNerd
  • 181
  • 3
  • 11
  • 1
    you basically need to bundle a jre with your java applications, which makes them not so small anymore – Sebastian Mar 14 '15 at 11:00
  • @Sebastian how can I bundle jre with the java app and how will I get an exe out of it? – jNerd Mar 14 '15 at 11:18
  • 1
    Have a look at [this answer](http://stackoverflow.com/questions/2258932/embed-a-jre-in-a-windows-executable) btw - it is usually not a good idea to bundle your java app with jre to make an exe. Instead you should have a look at [java web start](http://stackoverflow.com/tags/java-web-start/info). – Sebastian Mar 15 '15 at 08:30

0 Answers0