Wed Sep 12, 2018 12:43 pm
Easiest way (for me) to get an "runable Jar File" is with Eclipse (using Ant), under some more powerful machine (I tried running Eclipse over a RPI, much too slow). Under Eclipse, Right click over your package/class containing your "main" method, then choose "export" within the popup, then choose "runnable jarfile", then don't forget to tag "save as ant script" if you want to export it again after modification of your java project by double-clicking over the Ant script file (you'll have of course to specify a file name and a path to have it available and visible within your project (type F5 to refresh the Eclipse view if it doesn't appears). I normally get this way jarfiles that run just through double clicking on their file icon.