I have created a project in java Netbeans and I want to create an .exe or .jar file that can be run on any other systems. my project have a Main.java class and an other class GetRules.java . the .exe file should be such that it can be run in any folder that contain train.txt as input and create Model.txt as output
how can I do this?