gnommer 0 Posted Monday at 08:34 PM Im trying to build my own script, im completely new to scripting and java.. I followed the tutorial on setting up IntelliJ IDEA envourment, but when i build my artifact i get a bunch of errors saying C:\Users\*****\IdeaProjects\MySplasher\src\SeagullSplasherScript.java:17:41 java: cannot find symbol symbol: class Settings location: package org.dreambot.api.methods.settings I used this import but "Settings;" is red import org.dreambot.api.methods.settings.Settings; What am i doing wrong?
mangochut 0 Posted Tuesday at 09:39 AM Your JDK (Java Development Kit) is set to 11. It needs to be 1.8 To do that go to File->Project Structure -> Project Settings -> Project. Under SDK there's a drop down, you want to select 1.8 or download it if you don't already have it This guide shows a recommended place to download it from: https://dreambot.org/guides/scripter-guide/script-dev/installing-jdk/ There may be more problems afterwards so brace yourself
FuryShark 26 Posted Tuesday at 11:01 AM JDK 11 is fine. What your trying to import doesn't exist. Maybe try ClientSettings? https://dreambot.org/javadocs/overview-summary.html
koirul12e 4 Posted Tuesday at 06:47 PM (edited) If you get a new IntelliJ version, tthe AI assistant would troubleshoot things like this for you. Extremely handy! Edited Tuesday at 06:47 PM by koirul12e
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now