September 28, 20178 yr I know this is probably a reach, but I'm curious if anyone's had any luck running custom scripts that rely on external JAR dependencies? I want to connect to a MySQL database from my script so I have it include the mysql connector driver jar, but this isn't included when you export to a jar; so my script fails as it doesn't know what com.mysql.jdbc.Driver is. This will only be used locally, so no worries about this not being supported via the SDN. All the stack overflow posts I can find point to exporting it as a "runnable external jar" so you can include external jars in the package. But this obviously doesn't seem right as the script by itself isn't runnable. Edited September 28, 20178 yr by Colonel_Panic
September 28, 20178 yr cant use jdbc or any other external jar/lib because of security exceptions you have to use sockets
September 28, 20178 yr 4 minutes ago, Deceiver said: cant use jdbc or any other external jar/lib because of security exceptions you have to use sockets Doesn't OSBot block socket connections in security manager?
September 28, 20178 yr 3 minutes ago, Night said: Doesn't OSBot block socket connections in security manager? idk lad- its what everyone else says who farms on a decent scale
September 28, 20178 yr Author 19 minutes ago, Deceiver said: cant use jdbc or any other external jar/lib because of security exceptions you have to use sockets Gross. Was hoping to avoid sockets, but I guess I'll have to use em anyways. Thanks for the input man!
September 29, 20178 yr You can setup a http server, create a connection between client and server and then do db stuff via server.
Create an account or sign in to comment