Jump to content

OSBot Not Detecting local .jar Files


Recommended Posts

Posted

System : MacOS Big Sur (M1 Silicon)

 

Created my first script as a seasoned programmer, wanted to see how it performed.

Booted up OSBot to find that it is not being able detect the jar file I have placed in the ~/OSBot/Scripts folder

$ /usr/libexec/java_home -V
Matching Java Virtual Machines (1):
    1.8.0_291 (x86_64) "Oracle Corporation" - "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home

$ cat .bash_profile
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk

$ pwd
/Users/REDACTED/OSBot/Scripts

$ ls
REDACTED.jar

$ which java
/usr/bin/java

$ java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)

Additionally, the log from OSB client

[INFO][06/18 03:10:41 AM]: Script list refreshed and loaded 0 scripts.

Not sure if this a system client on my end, or a client bug.

 

I am thinking at this point the .jar file may just be bad, in which case if there's anyone who can give a detailed explanation of what needs to be contained within a valid .jar file, it would be might appreciated.

 

And before anyone asks, my ScriptManifest is correct

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...