urka Posted February 3, 2023 Posted February 3, 2023 Im getting this message when trying to launch OSbot. Tried re-installing both OSbot and JAVA, restarted computer also. Any idea on how to fix this?
ExtraBotz Posted February 3, 2023 Posted February 3, 2023 On your computer open COMMAND LINE (search cmd in the search bar) and type java -version. Let us know which version of Java you're using.
urka Posted February 3, 2023 Author Posted February 3, 2023 22 minutes ago, ExtraBotz said: On your computer open COMMAND LINE (search cmd in the search bar) and type java -version. Let us know which version of Java you're using. says version 1.8.0_361, that helpful?xd
ExtraBotz Posted February 3, 2023 Posted February 3, 2023 Urka got it fixed. For anyone who experiences the same issue download and run this program: https://johann.loefflmann.net/en/software/jarfix/index.html This will correct your java execution. From the site: "The root cause for the problem above is, that a program has stolen the .jar association. If you have installed the Java Runtime Environment the first time, the file type called "jar" is assigned to javaw.exe correctly. "jar" is an abbreviation for "java archive" and javaw.exe is the correct program to execute a .jar. However, on Windows any program can steal a file type at any time even if it is already associated with a program. Many zip/unzip programs prefer to do this, because a jar is stored in the .zip format. If you doubleclick on a .jar, your pack program opens the file, rather than javaw runs the program, because your pack program ignores the meta information which are also stored in a .jar. In the Oracle bug database there is the low-priority report 4912211 "add mechanism to restore hijacked .jar and .jnlp file extensions", but it has been closed as "Closed, Will Not Fix"."