Given a Java project created using Netbeans that has some libraries added (.jar files) - these are required for the project to work. If the project is copied over to another computer will these .jar files need to be added again?

Recommended Answers

All 3 Replies

Normally yes.

unless you call a service on a server where you store all your .jars needed, but that would require network connection.

you can access jars on remote systems IF you can add the location of the jars to the application classpath.
Now to find a JVM that allows for classloading using UNC paths (Windows drive shares with an assigned letter would work fine, they're seen as local drives to software running on the system).

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.