Prototype G Posted June 17, 2019 Share Posted June 17, 2019 (edited) Hi, I use java online decompiler in CFR because I create this script from another. I added the osbot library 2.5.51 (the most current) added the artifacs. I add the JDK (the most current one) I use the language level 8 in the JDK. and when creating the .jar file it is very heavy and this does not allow me to open the osbot manager, if I open and execute the bot opening it from the osbot launcher if it works. Edited October 26, 2019 by Prototype G Quote Link to comment Share on other sites More sharing options...
RawTech Posted June 17, 2019 Share Posted June 17, 2019 In your module configuration within the project structure make sure that the scope for osbot is set to "provided". This will exclude it from the compiled jar. 1 Quote Link to comment Share on other sites More sharing options...
Prototype G Posted June 17, 2019 Author Share Posted June 17, 2019 (edited) oh, done. the error occurred in the artifacts. Edited October 26, 2019 by Prototype G 1 Quote Link to comment Share on other sites More sharing options...
Gunman Posted June 17, 2019 Share Posted June 17, 2019 I made that mistake before. Also so you don't make this mistake if you make another script without making a new project make sure to make a new module folder (Just right click on Fish looter folder in project and hover new then it should be the first one). Then make the new java class in that module folders src. If not when you make another script in the same src as the one you have this script when you build the artifact it will build all the scripts in the src into one jar. You will need to make another artifact for each new script you make in it's own respective module folder src. Make sure to select the meta inf manifest file path too. Other wise it won't be able to open it in the client. Should be in Project Structure, Artifacts and just click on the .jar you are dealing with and it should be at the bottom of the window. Click existing path then find the meta inf file open it and select MANIFEST.MF and click ok or double click it. Idk if there is another way to do this but this is my way of doing it. 1 Quote Link to comment Share on other sites More sharing options...