I developped my java application and I built a jar file. This jar file is executable of course only in a pc containing an installed jdk. How could I proceed to make my application autonomous.
Asked
Active
Viewed 63 times
0
-
Do you mean you want to ship the Java Runtime Environment with your code? – Michael Markidis Apr 28 '16 at 18:24
-
I want to ship the Java Developpement Kit with my code – essefi intidhar Apr 28 '16 at 20:33
2 Answers
0
You may be looking for a way to create an executable app from your jar. Try these:

Community
- 1
- 1

Filipe Esperandio
- 511
- 4
- 13
-
No, I'm looking how to execute to install may application with no need of installing the jdk – essefi intidhar Apr 28 '16 at 20:32
0
You don't need the JDK to run an already compiled java program on another computer. What you need is the JRE (Java Runtime Environment) installed on the target computer in order to run your code.
This tutorial shows how to do just that in a Windows environment:

Michael Markidis
- 4,163
- 1
- 14
- 21