i made a jar, but my app needs the API to sniff the network.
i made a .bat file so that i can run the jar file without having to type in the commands.
//contents of myApp.bat
start java -Djava.library.path="jnetpcap-1.3.0" -jar myApp.jar
the problem is, there's this fugly CMD prompt that just wont go away. if i close it, it closes my app as well. so, how do i solve this?
thanks.