Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Where should i put my .jar file?

Hi, everyone.

I want to use a kind of jdbc drivers, so i have to put two .jar files into a folder.

I put these into C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\MyPortalApp2\work\pagelet

But it seems wrong.

What folder should i put into?

Or how should i do to use the jdbc driver?

thx ^^

replied

Hi Louis,

It is sufficient if u add the jars for the driver in project build path itself.

Right CLick Project -> Properties -> Java Build Path -> Libraries -> Add External Jar -> Browse and add the jars.

Deploy the project. If it doesn't work, put the jars inside lib folder instead of pagelet folder.


usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\MyPortalApp2\lib

Regards,

Harini S

-


Note: Putting the jar inside the lib folder in the path I have mentioned is same as adding them in the project lib folder.

Message was edited by: Harini Subramanian

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question