cancel
Showing results for 
Search instead for 
Did you mean: 

Importing an ISV jar file

Former Member
0 Kudos

How do I import an ISV jar file for use in my Web Dynpro application?

I need to create a bar code image, and to do this we use an ISV jar file with the appropriate classes ( let's call it BarCodeGenerator.jar). How do I use this within Web Dynpro?

Nigel

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Copy and paste this jar into your lib folder of your webdynpro project.Go to navigator->lib .

Regards,

Rajeev Ranjan

Former Member
0 Kudos

Hi Rajeev,

I've tried that. I paste the jar into the lib folder as you describe. However when it put the relevant code that uses this jar in the view controller I get the error message that the type cannot be resolved. I try Source>organize imports,

but that does not do anything.

Nigel

Former Member
0 Kudos

Hi Nigel,

Please refer to this thread if you are not using DC

Regards,

Rajeev

Former Member
0 Kudos

Also include the jar into java biuld path->libraries

Regards,

Rajeev

Answers (1)

Answers (1)

pravesh_verma
Active Contributor
0 Kudos

Hi Nigel,

Adding on to Rajeev suggestion, just adding the jar files to the lib folder will not run. You have to add that path of these external jar files in the build path as well.

I have explained the reason for doing so in my last posts, please refer to the link:

/message/1479671#1479671 [original link is broken]

For adding to the Build path follow the path:

<b>Windows-->Preference > Java> ClassPath .</b>

I hope this helps you and solve your problem.

Regards

Pravesh

PS: Please conside rewarding points if helpful and solved.