Jump to content

OSBot Not Detecting local .jar Files


hamaso

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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