Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Include Java Archive in project

$
0
0

Hello,

 

In my project I am using MySQL Connector/J to access a database. The Java archive is stored in /System/Library/Java/Extensions (I am using OS X). On my computer the project is running fine without including the archive in my project. It seems that libraries in that directory are automatically included in Classpath. But when I give the project to a buddy I does not run properly, because the MySQL Connector/J archive is missing. Now want to include the archive. With every build it should be copied to the output directory. That way I would not have to worry about it anymore. How can I do that? Here is a screen shot of how I tried to add the archive to the project. Unfortunately the archive still is not copied to the output directory (although running it still works fine).

 

settings.png

 

How can I get this to work?

 

Thanks for your help.


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>