Persians Posted June 19, 2019 Share Posted June 19, 2019 I've already looked at the java guide listed on the website. Whenever i try to open it after entering my login credentials, it says i have java 10 which is unsupported. I followed the guide and re downloaded the java 8 version. I then opened notepad on my desktop and added the text: C:\Program Files\Java\jre1.8.0_211\bin\java.exe-jar "osbot.jar" I saved that as osbot.bat and tried to relaunch the program but it still wouldn't open. Any tips? Quote Link to comment Share on other sites More sharing options...
Protoprize Posted June 19, 2019 Share Posted June 19, 2019 C:\Program Files\Java\jre1.8.0_211\bin\java.exe -jar "osbot.jar" ^ You forgot to put a space between java.exe and -jar Quote Link to comment Share on other sites More sharing options...
Persians Posted June 19, 2019 Author Share Posted June 19, 2019 9 hours ago, Protoprize said: C:\Program Files\Java\jre1.8.0_211\bin\java.exe -jar "osbot.jar" ^ You forgot to put a space between java.exe and -jar I'm still having trouble... Quote Link to comment Share on other sites More sharing options...
doubt Posted June 19, 2019 Share Posted June 19, 2019 Try C:\Program Files\Java\jre1.8.0_211\bin\java.exe -jar "osbot.jar" pause and post everything from the command prompt window here Quote Link to comment Share on other sites More sharing options...
Persians Posted June 19, 2019 Author Share Posted June 19, 2019 (edited) 51 minutes ago, doubt said: Try C:\Program Files\Java\jre1.8.0_211\bin\java.exe -jar "osbot.jar" pause and post everything from the command prompt window here java version "1.8.0_211" Java(TM) SE Runtime Environment (build 1.8.0_211-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode) when i post what you told me to enter in the command prompt: \Program Files\Java\jre1.8.0_211\bin\java.exe -jar "osbot.jar" The filename, directory name, or volume label syntax is incorrect. Edited June 19, 2019 by Persians Quote Link to comment Share on other sites More sharing options...
Night Posted June 19, 2019 Share Posted June 19, 2019 18 minutes ago, Persians said: java version "1.8.0_211" Java(TM) SE Runtime Environment (build 1.8.0_211-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode) when i post what you told me to enter in the command prompt: \Program Files\Java\jre1.8.0_211\bin\java.exe -jar "osbot.jar" The filename, directory name, or volume label syntax is incorrect. You need to put the drive letter in front as @doubt Quote Link to comment Share on other sites More sharing options...
Persians Posted June 19, 2019 Author Share Posted June 19, 2019 16 minutes ago, Night said: You need to put the drive letter in front as @doubt I did. C:\Users\Name>C:\Program Files\Java\jre1.8.0_211\bin\java.exe -jar "osbot.jar" 'C:\Program' is not recognized as an internal or external command, operable program or batch file. Quote Link to comment Share on other sites More sharing options...
Night Posted June 19, 2019 Share Posted June 19, 2019 Since there's a space in Program Files, wrap everything from "C" to ".exe" in double quotes: "C:\Program Files\Java\jre1.8.0_211\bin\java.exe -jar osbot.jar" Quote Link to comment Share on other sites More sharing options...
Persians Posted June 19, 2019 Author Share Posted June 19, 2019 21 minutes ago, Night said: Since there's a space in Program Files, wrap everything from "C" to ".exe" in double quotes: "C:\Program Files\Java\jre1.8.0_211\bin\java.exe -jar osbot.jar" Could i message you on discord? It would make this faster/easier... Quote Link to comment Share on other sites More sharing options...
Hybris Posted June 19, 2019 Share Posted June 19, 2019 "C:\Program Files\Java\jre1.8.0_211\bin\java.exe" -jar osbot.jar Quote Link to comment Share on other sites More sharing options...
Persians Posted June 19, 2019 Author Share Posted June 19, 2019 42 minutes ago, Hybris said: "C:\Program Files\Java\jre1.8.0_211\bin\java.exe" -jar osbot.jar I copied exactly what you have into notepad, saved it as osbot.bat and tried to relaunch and i still get the same error. Am i doing this correctly? Quote Link to comment Share on other sites More sharing options...
Hybris Posted June 19, 2019 Share Posted June 19, 2019 That's very strange because I just tried again & it worked completely fine for me that way. The only thing I can think of is that your path is wrong. Is your jre in Program Files or Program Files (x86)? Go to your java.exe, open properties & copy the location to make sure the path is right. If it's still wrong add pause to the bat file & post the error message. Quote Link to comment Share on other sites More sharing options...
Persians Posted June 20, 2019 Author Share Posted June 20, 2019 (edited) 6 hours ago, Hybris said: That's very strange because I just tried again & it worked completely fine for me that way. The only thing I can think of is that your path is wrong. Is your jre in Program Files or Program Files (x86)? Go to your java.exe, open properties & copy the location to make sure the path is right. If it's still wrong add pause to the bat file & post the error message. Do you mind if i add you on discord for some help? when i type in java.exe in my windows search bar, i get 5 different options to select from: 1. "C:\Users\Name\Downloads\_temp_matlab_R2018a_win64\sys\java\jre\win64\jre\bin\java.exe" 2. "C:\Users\Name\OSBuddy\java64\bin\java.exe" 3. "C:\Users\Name\Downloads\_temp_matlab_R2016a_win64\sys\java\jre\win64\jre\bin\java.exe" 4. "C:\Users\Name\OSBuddy\java\bin\java.exe" 5. "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe" im guessing my java 8 version isn't stored in the correct spot? Edited June 20, 2019 by Persians Quote Link to comment Share on other sites More sharing options...
Persians Posted June 20, 2019 Author Share Posted June 20, 2019 Can anybody help me please? Quote Link to comment Share on other sites More sharing options...
Hybris Posted June 20, 2019 Share Posted June 20, 2019 Why type it in the search bar? why not just go to the program files & see if java is in there? Add me on discord I'll help ya. Janne#1565 Quote Link to comment Share on other sites More sharing options...