-2

I am new for java. As a first step, I made a simple calculator in NetBeans.

I wanted to make it an executable software and to run it just by double clicking it as on visual basic.

Please tell me if you know a method to do that.

Ajay2707
  • 5,690
  • 6
  • 40
  • 58
Nusri
  • 1
  • 2

2 Answers2

0

I don't know your IDE but you need to export an as executable jar file. Then you can run that.

In Eclipse:

File > Export > Runnable Jar File > Choose your path > Click export

Walshy
  • 850
  • 2
  • 11
  • 32
0

Right click on the project -> Clean and build

You can find the runnable jar in your project folder > dist (newly created folder)

Sravya
  • 35
  • 1
  • 2