I have been developing a applet to take advantage of the WEKA library which is the form of an external jar file.

I have used eclipse to design the applet and it works great when running from within eclipse. I have made a test html which loads the applet and the external library (located in the same folder as the html) but seems to struggle when trying to use any of the weka libraries functions.

The program loads ARFF files from a server then processes them. Currently it cannot load the files using the WEKA library.

My questions is how should i properly make use of external libraries within java applets? How should i build the applet within eclipse to make use of the library when used within a html outside of the IDE?

Thanks for any help