Dreamsicle Posted June 16, 2015 Posted June 16, 2015 OS Version: CentOS 6.5 (32 Bit) Java: Oracle JDK 1.8.0.45 (Latest) OSBot Version: 2.3.75 Whenever I try to run the bot on CentOS I get this error "There was an error launching OSBot! Please verify your boot options are valid!" Does anyone know a solution? Or does anyone know how to run the bot on CentOS?
Bobrocket Posted June 16, 2015 Posted June 16, 2015 Can you run the following commands: java -version If you can, try running OSBot like so: java -jar /path/to/osbot.jar If you cannot, you must install the latest Java. If you can run java -version but you cannot run the jar, you must install the latest Java too (instructions below). Step 1. Download the latest RPM from Oracle - type this in your CLI window: wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-i586.rpm" It is a long command, but it is needed. Run it and it should download the latest RPM. Step 2. Compile and install the RPM - type this in your CLI window: rpm -ivh jdk-8u45-linux-i586.rpm Press "y" at any prompts. Step 3. Make sure it is installed - type this in your CLI window: java -version If you get the following message: java version "1.8.0_45"Java SE Runtime Environment (build 1.8.0_45-b14)Java HotSpot 64-Bit Server VM (build 25.45-b02, mixed mode) You have installed Java correctly.
Dreamsicle Posted June 16, 2015 Author Posted June 16, 2015 Can you run the following commands: java -version If you can, try running OSBot like so: java -jar /path/to/osbot.jar If you cannot, you must install the latest Java. If you can run java -version but you cannot run the jar, you must install the latest Java too (instructions below). Step 1. Download the latest RPM from Oracle - type this in your CLI window: wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-i586.rpm" It is a long command, but it is needed. Run it and it should download the latest RPM. Step 2. Compile and install the RPM - type this in your CLI window: rpm -ivh jdk-8u45-linux-i586.rpm Press "y" at any prompts. Step 3. Make sure it is installed - type this in your CLI window: java -version If you get the following message: java version "1.8.0_45" Java SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot 64-Bit Server VM (build 25.45-b02, mixed mode) You have installed Java correctly. Already had Java installed just like you said Here's the error log when I try to run it through terminal http://pastebin.com/raw.php?i=hWVdFDhP
Bobrocket Posted June 16, 2015 Posted June 16, 2015 Already had Java installed just like you said Here's the error log when I try to run it through terminal http://pastebin.com/raw.php?i=hWVdFDhP Can you try the fix here? Afterwards, type sudo reboot to reboot your machine.Then try to run the jar via CLI again.