@pureacoustixx Start by downloading and installing an IDE. Your IDE is the program that you'll be using to write scripts with. If you're unsure of which IDE to use, I would have to recommend using IntelliJ. It's free, and the features it offers are superior to the alternative IDE's out there. You'll either need to install either a cracked version of IntelliJ Ultimate, or the free IntelliJ Community Edition, which is just as good: https://www.jetbrains.com/idea/download/#section=windows
Once you've finished downloading and installing your IDE, you'll have to follow a tutorial to set it up. There are many tutorials available to you either through youtube or the osbot tutorial section.
https://www.youtube.com/watch?v=0mIWSUHXB9c
The video I linked will also teach you how to create your script's main class, which is essentially your script. Once you have your main class created, your script now exists, and all you have to do is compile the .java files into .class files.