McBeerson Posted September 15, 2017 Share Posted September 15, 2017 (edited) Hey, I went to run the jar file on my dedi however I got this message: "Blocked: /usr/bin/java -jar The file '/home/customer/desktop/bot.jar' is not marked as executable if this script was dowloaded or copied from an untrusted source, it may be malicious to run. For more details read about at link" SSo I read and all I had to do was change permissions to make it executable, I did but then nothing happened after. If anyone could help me out thaat would be greatly appreciated. If anyone can help me I will pay you in whatever currency you want. Edited September 15, 2017 by McBeerson Link to comment Share on other sites More sharing options...
Butters Posted September 15, 2017 Share Posted September 15, 2017 try doing this: chmod +x /home/customer/desktop/bot.jar If that doesn't work post what you get after trying to launch osbot here Link to comment Share on other sites More sharing options...
McBeerson Posted September 15, 2017 Author Share Posted September 15, 2017 9 hours ago, nosepicker said: try doing this: chmod +x /home/customer/desktop/bot.jar If that doesn't work post what you get after trying to launch osbot here I tried this and at first it said no file or directory existed. so I moved it to /customer instead of desktop and the terminal just entered the line and didn't do anything else. The .jar still wont open Link to comment Share on other sites More sharing options...
kazemaru Posted September 15, 2017 Share Posted September 15, 2017 (edited) java -jar osbot 2.4.140.jar try that? or go to the file>propeties open with java? Edited September 15, 2017 by kazemaru Link to comment Share on other sites More sharing options...
McBeerson Posted September 15, 2017 Author Share Posted September 15, 2017 7 minutes ago, kazemaru said: java -jar osbot 2.4.140.jar try that? or go to the file>propeties open with java? it gave the same error: no such file or directory. Now I'm having the problem of figuring out how to open up my terminal since my whole desktop is blank now Link to comment Share on other sites More sharing options...
kazemaru Posted September 15, 2017 Share Posted September 15, 2017 what ubunto are you running? Link to comment Share on other sites More sharing options...
McBeerson Posted September 15, 2017 Author Share Posted September 15, 2017 5 minutes ago, kazemaru said: what ubunto are you running? 14.something Link to comment Share on other sites More sharing options...
Artifex Posted September 15, 2017 Share Posted September 15, 2017 (edited) 15 hours ago, McBeerson said: Hey, I went to run the jar file on my dedi however I got this message: "Blocked: /usr/bin/java -jar The file '/home/customer/desktop/bot.jar' is not marked as executable if this script was dowloaded or copied from an untrusted source, it may be malicious to run. For more details read about at link" SSo I read and all I had to do was change permissions to make it executable, I did but then nothing happened after. If anyone could help me out thaat would be greatly appreciated. If anyone can help me I will pay you in whatever currency you want. Check your java version: java -version most ubuntu 14 will have java 7! With java 7 it wont work. If so install java 8: sudo apt-add-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer If you finished this check if java 8 is installed! If you need something else let me know. Edited September 15, 2017 by Artifex Link to comment Share on other sites More sharing options...
Alek Posted September 15, 2017 Share Posted September 15, 2017 You need to change directory to where you have the OSBot jar located, hence the "no such file or directory" error. Once there enter, java -jar "osbot 2.4.141.jar" If you're unsure, your problem can be solved by doing a simple Google of "how to run jar in linux". Link to comment Share on other sites More sharing options...