Thymox, look who was helping him
Anytime you see my name attached to something, it can only lead to problems
Yes, the script would looks something like:
#This is for the JPhotoBrush java program:
java -jar JPhotoBrush.jar
And copy and paste that into any text editor, edit the path to your program, save the file as JPhotoBrush (or whatever you want) and then:
chmod +x JPhotoBrush
And now you can move that wherever you want, and if you put it in your PATH (maybe in /usr/bin) then you can execute it my just typing JPhotoBrush
I am no bash expert, but I think that's right. Check around first, or ask someone to take a look at it.
Glad you got it working btw, how do you like the program?