Adding a Jar to JPad

There are a number of ways to add your own jars to JPad. These currently include:

Libs Folder

Add Jar to All JPad Scripts on Windows

On windows any .jar files added to the install/libs folder are included on the class path when JPad starts. This folder can commonly be found at:

C:\Program Files (x86)\\JPad

jpad libs folder for jars

Specifying jar in Classpath

On Mac and Linux we currently run JPad using these instructions. i.e. we make the jar executable and run it with java.

If we modify this slightly we can add our own jars to the classpath like so:

This should load jpad and the jar. Apologies for not trying it I don't have access to a mac. I will confirm and post a video shortly.