doznzlol Posted September 17, 2023 Posted September 17, 2023 Hello, I have a few scripts I made locally and I am wondering why they don't load into OSbot after I add them to the script folder as a .jar file. I have done everything right, built the files, and copy and pasted them into the folder, with no luck. Any suggestions would great. Thanks
Khaleesi Posted September 17, 2023 Posted September 17, 2023 (edited) 52 minutes ago, doznzlol said: Hello, I have a few scripts I made locally and I am wondering why they don't load into OSbot after I add them to the script folder as a .jar file. I have done everything right, built the files, and copy and pasted them into the folder, with no luck. Any suggestions would great. Thanks Make sure they have a manifest added and build with java 8 Edited September 17, 2023 by Khaleesi
doznzlol Posted September 17, 2023 Author Posted September 17, 2023 (edited) Almost positive I did both, osbot logger says: Failed to load local script : dev/dozn/test/Main.class java version "1.8.0_381" Java(TM) SE Runtime Environment (build 1.8.0_381-b09) Also, SDK 20.0.2 Edited September 17, 2023 by doznzlol update
skillerkidos1 Posted September 17, 2023 Posted September 17, 2023 8 hours ago, doznzlol said: Almost positive I did both, osbot logger says: Failed to load local script : dev/dozn/test/Main.class java version "1.8.0_381" Java(TM) SE Runtime Environment (build 1.8.0_381-b09) Also, SDK 20.0.2 Did you follow this?
Khaleesi Posted September 17, 2023 Posted September 17, 2023 9 hours ago, doznzlol said: Almost positive I did both, osbot logger says: Failed to load local script : dev/dozn/test/Main.class java version "1.8.0_381" Java(TM) SE Runtime Environment (build 1.8.0_381-b09) Also, SDK 20.0.2 Well then there is def something wrong, migth wanna start calling your class NOT Main For the rest it's hard to tell with no code or build settings to check
doznzlol Posted September 17, 2023 Author Posted September 17, 2023 I think I found the solution, I had the wrong JDK installed. And I changed the main class LOL, I am a lazy coder 1