Mountain Troll Posted March 31, 2020 Share Posted March 31, 2020 I am trying to run a script on my vps, im using putty to connect through ssh. I have installed java and followed any tutorial i can find that fits the situation but im still getting a error and have no clue what it is on about Starting OSBot in low resource mode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.bulenkov.darcula.DarculaLaf (file:/root/botting/OSBot%202.5.70.jar) to field javax.swing.text.html.HTMLEditorKit.DEFAULT_STYLES_KEY WARNING: Please consider reporting this to the maintainers of com.bulenkov.darcula.DarculaLaf WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Exception in thread "main" java.lang.IllegalArgumentException at org.osbot.cD.<init>(cx:187) at org.osbot.cD.<init>(cx:146) at org.osbot.cD.<init>(cx:564) at org.osbot.WD.IIiiiiiiIIiI(aq:31) at org.osbot.Boot.iiIIIiiIIIIi(jv:673) at org.osbot.Boot.launch(jv:720) at org.osbot.Boot.main(jv:779) I apologise if im just being a novice but i have tried everything i know. Quote Link to comment Share on other sites More sharing options...
powerrangeralt Posted March 31, 2020 Share Posted March 31, 2020 What is in your script to launch OSBot? Looks like you might have an invalid argument 1 Quote Link to comment Share on other sites More sharing options...
Mountain Troll Posted March 31, 2020 Author Share Posted March 31, 2020 2 hours ago, powerrangeralt said: What is in your script to launch OSBot? Looks like you might have an invalid argument Its just one iv made myself, works fine with the normal client, it dosnt take any params so im passing in null Quote Link to comment Share on other sites More sharing options...
powerrangeralt Posted March 31, 2020 Share Posted March 31, 2020 Are you trying to have it log in and launch automatically from the script? Hard to help without seeing the specific part of the script that's trying to load OSBot, but this might be helpful https://osbot.org/forum/topic/117790-list-of-all-osbot-cli-arguments/ Quote Link to comment Share on other sites More sharing options...
Token Posted March 31, 2020 Share Posted March 31, 2020 Launching from a ssh terminal requires assigning a virtual desktop for the client to run on, it's a graphic application so I'm not sure if using -nointerface will work if you don't assign a desktop to the command you run. Install something like Gnome and tigervnc and try to start using a VNC client instead. You can do this through a ssh terminal after you install the window system even without the VNC itself, but I'm not sure if -nointerface works without any window system at all. Quote Link to comment Share on other sites More sharing options...