0

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.

2 Answers2

0

You may be looking for a way to create an executable app from your jar. Try these:

Community
  • 1
  • 1
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:

Bundle the JRE and Launch a java App

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