How can i change my java program in netbeans(currently) so that i can install my program in any other computer?
Which is the currently best tool plzz help

Recommended Answers

Create a jar file containing all the resources that the program uses that can be copied to other PCs that have the JRE installed.

Jump to Post

I've always just copied the jar file to the other PC. It needs to have a JRE.

Jump to Post

All 5 Replies

Create a jar file containing all the resources that the program uses that can be copied to other PCs that have the JRE installed.

actully i am trying to get a .exe or .msi file from my jar file.. so that it can be installed in other system as well

I've always just copied the jar file to the other PC. It needs to have a JRE.

Assuming you have a JRE on the target machine you just have to copy the jar onto it and double-click the jar for your program to execute. Do you have any resources outside your jar that the program needs to run (eg database)?

yes, i'm usibg Mysql at the back end!!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.