0
I just did a project in Netbeans and would like to turn it into a app to run on PC, so I want to turn it into .jar. How to do this?
0
I just did a project in Netbeans and would like to turn it into a app to run on PC, so I want to turn it into .jar. How to do this?
1
In netbeans, just press F11 with the selected project or right-click on the desired project, and click on Build
or Clean and Bluid
:
Netbeans will create a file jar
within a subfolder in the directory of your project called dist
.
Thank you diegofm, sorry for the stupidity, I started using netbeans today.
@Guilhermepassos without any problems :)
@Guilhermesteps if the answer helped you, you can mark it as accepted by clicking on v
to the left. See how the site works in [tour]
I’ll take it, I’m just waiting for the minimum time for it
i managed to turn into . jar, but he’s not running, has some suggestion of what to do?
@Guilhermepassos ai is another problem, and quite complicated to suggest something because it may have N causes. Try running the jar via command line and see if errors appear. Open a prompt window in the dist folder and type: java -jar arquivoJar.jar
Browser other questions tagged java netbeans jar
You are not signed in. Login or sign up in order to post.
Just export the jar.
– user28595
I can’t export the jar
– user77896
F11 or goes in
Run -> Build project
– user28595
When I go to "export project", only the option to ZIP appears
– user77896
You tried what I said in the last comment?
– user28595
I tried, but nothing happens, if it happened I don’t know where he built the project
– user77896
In the DIST folder within your project
– user28595
Where I find the DIST folder
– user77896
See the answer below.
– user28595