Electric plug-ins are additional pieces of code that can be downloaded separately to enhance the system's functionality. Currently, these plug-ins are available:
To attach a plugin, it must be in the CLASSPATH. The simplest way to do that is to invoked Electric from the command line, and specify the classpath. For example, to add the beanshell (a file named "bsh-2.0b1.jar"), type:
java -classpath electric.jar:bsh-2.0b1.jar com.sun.electric.Launcher
On Windows, you must use the ";" to separate jar files, and you might also have to quote the collection since ";" separates commands:
java -classpath "electric.jar;bsh-2.0b1.jar" com.sun.electric.Launcher
Note that you must explicitly mention the main Electric class (com.sun.electric.Launcher) when using plug-ins since all of the jar files are grouped together as the "classpath".