Hi Java Experts,
Is there possible to convert application or applet to EXE so that it can execute alone without the need of JDK??? If yes, what's the tool used? And also how to convert applet to application and vice-versa.
You don't need the full JDK in order to run a Java application, only the JRE (Java Runtime Environment). Note that applets work inside browsers because they include a JRE in the browser code.
The JRE is the only real platform-specific thing about Java. A different one has to be created by each platform manufacturer. But this then means that the same compiled classes can run on different platforms. In other languages you would have to compile different exe's for each platform.
You can compress all of your class files into a jar file so that there is a single file to release.
Some people wish to protect their code from de-compiling (i.e. recreating source code from compiled classes) and there are programs to prevent this. My home ---->
By the way, general Java queries might get more answers in the "Java (Sun)" forum as this forum is really about the Enterprise Edition (JSP, Servlets, EJB, Web comms, etc.) My home ---->
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.