Jump to content

Support for external libraries


Recommended Posts

Posted
4 minutes ago, Qubit said:

Yes to can import multiple libraries. You cannot extend two classes. This sounds like an easy workaround, I advise you to learn a little bit more about java..

Yeah my bad i worded it so bad I'm importing 2 libraries but the problem is osbot can't find the external library. 

Posted (edited)

This is how I've set it up let me know if I've done something wrong @Gary_Oak.

8bb2fd99231c4ae573f0564a8c4a567d.png

ae47f1b9cc98c3c6aa27918155e74a99.png

2dee5810054fb9e6cd0cec693459d4f2.png 

and I get this error

[ERROR][07/25 12:25:40 AM]: Failed to load local script : com/thoughtworks/xstream/converters/reflection/CGLIBEnhancedConverter$ReverseEngineeredCallbackFilter.class
[ERROR][07/25 12:25:41 AM]: Failed to load local script : org/pircbotx/UserHostmask$1.class
[ERROR][07/25 12:25:41 AM]: Failed to load local script : org/pircbotx/Channel$1.class
[ERROR][07/25 12:25:41 AM]: Failed to load local script : org/pircbotx/MultiBotManager$BotFutureCallback.class

 

Edited by mylo
Posted (edited)

Normally I use Maven/ant/gradle to handle externals. 

But I think doing it without maven you need to tell add them to your class path manually, instead of just referencing them you should copy the jars your referencing and add them to your folder where your .class files are generated and then reference those ones there and include them in your export

Edited by Gary_Oak

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...