Displayname1234 Posted November 21, 2019 Posted November 21, 2019 (edited) So I created a script, exported it as a .jar to the scripts folder but it's not showing up in the script selector. I've deleted the folder and restarted OSBot several times, then exported the script again. Other scripts, ones from the SDN, are there. How can I make this local script appear? Edited November 21, 2019 by Displayname1234 typo
BravoTaco Posted November 21, 2019 Posted November 21, 2019 Example of the script manifest. Place it above your main class: @ScriptManifest(name = "NameOfScript", author = "YourName", version = 1.0, info = "", logo = "")
Displayname1234 Posted November 22, 2019 Author Posted November 22, 2019 3 hours ago, camaro 09 said: make sure it has a script manifest 2 hours ago, BravoTaco said: Example of the script manifest. Place it above your main class: @ScriptManifest(name = "NameOfScript", author = "YourName", version = 1.0, info = "", logo = "") Made sure it had a manifest. Still not showing up. Even a skeleton structure of a script isn't showing up, if that fact helps.
Displayname1234 Posted November 22, 2019 Author Posted November 22, 2019 Figured it out. I needed to switch to Java 1.8 I was using Java 13
Displayname1234 Posted November 22, 2019 Author Posted November 22, 2019 (edited) After first uninstalling Java 13 JDK (which is the latest Java atm.) and installing Java 1.8 JDK, I had to reinstall Eclipse. After that I copy pasted, deleted the project and remade it. Exported and it was there. Edited November 22, 2019 by Displayname1234
Otterblast Posted July 15, 2020 Posted July 15, 2020 (edited) Hey im having similar problem, I have java jdk 1.8.0_92 installed but not sure if I still have JDK 14, do I need to uninstall 14 if its still there or is it impossible for it to be there if I have 1.8? If all that is fine do I need to uninstall/reinstall eclipse? I have been able to make scripts but now they aren't showing up. Edited July 15, 2020 by Otterblast
Nbacon Posted July 15, 2020 Posted July 15, 2020 (edited) 58 minutes ago, Otterblast said: Hey im having similar problem, I have java jdk 1.8.0_92 installed but not sure if I still have JDK 14, do I need to uninstall 14 if its still there or is it impossible for it to be there if I have 1.8? If all that is fine do I need to uninstall/reinstall eclipse? I have been able to make scripts but now they aren't showing up. When you make a new project you can pick what jdk you want it to use. I have not used eclipse in 5+ years so this might of changed. Maybe think about switching to the intellij Community becuase that what most setup guilds use. Edited July 15, 2020 by Nbacon
Otterblast Posted July 19, 2020 Posted July 19, 2020 On 7/15/2020 at 3:12 PM, Nbacon said: most setup guilds use. Thanks, what do you mean by guilds?
Nbacon Posted July 19, 2020 Posted July 19, 2020 1 hour ago, Otterblast said: guilds I mean guide I have mild dyslexia and can't spell for shit.
Otterblast Posted July 20, 2020 Posted July 20, 2020 4 hours ago, Nbacon said: guide Ok yeah I followed I think it was Alex's guide to set up Intellij and for some reason I can't see my script in OSBot. I haven't been given GIT access either even though its been about a week since I applied but I don't think that is necessary to just make local scripts