I'm trying to add ojdbc
and another .jar
file into my project specifying the relative path such that, if I gave the project to a friend of mine, he would be able to import that project with all necessary .jar
files already included (and so he doesn't have to pick these files, but the project .zip
file is "ready-to-use").
Now, as the following image shows:
I right click on my project's Libraries
entry and choose the necessary .jar
file. But when I try to specify a relative path, Netbeans deny it and so I could not be able to give this project (exported as a .zip
file using Netbeans' export "function"), as the following image shows:
.jar
files to the project and then export it and give it to a friend of mine? Note that my .zip
project which I import with Netbeans and my .jar
file are in the same directory (Desktop):
Solved :
.jar
files as shown in the 1st and 2nd images; .jar
file you added;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.