Right now I'm writing a java program that makes special edits to the hosts file on windows. Some people at work were complaining about it. Anyways, the program is finished everything works great! However I have to run eclipse as admin to give it permission to write in the hosts file.
The bad news is that I made an executable jar file and there seems to be no way to run it as an admin.
I tried a program to convert it to an exe file. It works on my computer but not on any other pc.
Are there any other suggestions on how to run it as admin? I saw something about making a wrapper but I didn't quite know where to look for that..
-Thanks everyone!