Hi all, ive got a problem relating to the log4j.jar file (I suppose it would be the same problem regardless of what the .jar file is).

I created a library based off the log4j.jar file, and the logging works and everything runs smoothly on my laptop. However, when I use the project on another computer, i am prompted to change the filepath of the log4j.jar file.

The strange thing is that it's in the classpath, and proof of that is that it's generated in my dist/lib folder when clean and build is selected.

Any suggestions?

Thanks!

Best way is create a Folder lib in your Project and place your project depending Jar files into it and and map the library for compile to the lib folder, ship the project with the lib file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.