I always add the JA files one at a time, never using the add folder option simply because I have never tried it.
So, as you said in your previous entry, select the Libraries entry in the Project tab and then add JAR/Folder. This time, though, do not add the folder but each of the JAR files directly - I cannot remember off of the top of my head exactly which one/s you need at the moment but think it will only be the scratchpad if you are working with HWPF. Do NOT do anything else. This is all I ever have to do to configure the project to use an external library. Do not set the classpath; you should not need to do so. NetBeans will take care of all internal comfiguration from the paths of/to your libraries. Now try to compile the application and see what happens. As to what you need to do at compile time, well NetBeans will build an application for you - you should see a dist sub-folder within your project folder. Navigate your way to this and you ought to find a file with the name of readme.txt. Open this and it will contain all the information you need explaining how to distribute the application. NetBeans should have created for you an executable java archive containing your applications classes and bundled up any and all necessary external libraries into the associated lib folder. If you continue to have problems, let me know and I will put together a simple project that I can post to you to have a look at. Yours Mark B -- View this message in context: http://apache-poi.1045710.n5.nabble.com/Problem-integrating-Apache-POI-into-NetBeans-tp5711909p5711924.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
