cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Including of API in the Classpath

Former Member
0 Kudos

<b>Hi

I am attempting to copy the values from excel files to the webdyn pro table in my application.

For that jxl.jar API has to be included in my classpath.

Can Any one Clearly explain me how to include jxl.jar API in to my classpath.

Where i can find this jxl.par.

Please explain in step by step so that i will be clear for me.

Thanks in Advance............

Regards

Chandran</b>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Down load the jexl jar from http://www.andykhan.com/jexcelapi/jexcelapi_2_6.tar.gz

extract this file using winrar, you can find jxl.jar

If you are using a normal webdynpro application copy this jar into lib folder(in navigator view) of ur webdynpro project. right click on project>java build path>add jars-->select jar from ur project.

If you are using webdynpro DC follow this blog

/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro

Regards,

Naga

former_member186016
Active Contributor
0 Kudos

Hi Chandran,

The link open but it takes lots of time.

You can take it from following link: http://www.andykhan.com/jexcelapi/download.html

Download the latest jar.

Regards,

Ashwani Kr Sharma

Answers (2)

Answers (2)

Mattias
Active Participant
0 Kudos

Hi,

If you're building a WebDynpro development component you need to add the jar file in an external library and then include the library as a "Used DC" in the web dynpro component.

see <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/5a/2e2f4234135433e10000000a155106/content.htm">this help page.</a> an try to follow this <a href="/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro

Regards

Mattias

Former Member
0 Kudos

Hi Mattias Johansson

I have done the same for uploading the excel in Dc.

but getting classdef(workbook) not found erroe.and in correction hints as class loader failed to load the above class.(workbook)

but able to do in local WD.

and one more thing we are able to run same DCs in some other m/c in other location.they are using the same j2ee server.

what can be the problem?

Please reply.

thanks & Regards,

salini

former_member186016
Active Contributor
0 Kudos

Get the jar from :

http://cvs.sourceforge.net/viewcvs.py/wabclient/wabclient/lib/

See this thread:

On your project -> Click properties

Go to Java Build Path

Add this jar as external jar

Regards,

Ashwani Kr Sharma

Former Member
0 Kudos

<b>Hi Ashwani

Thanks for your rapid reply.

The link for getting the Jar file was not openning.

Can you specify some other link to get that JAR file.

Regards

Chandran</b>

Mattias
Active Participant
0 Kudos

Hi,

I assume you're using the JExcelApi? Then all documentation and downloads are available at their sourceforge page, <a href="http://jexcelapi.sourceforge.net/">http://jexcelapi.sourceforge.net/</a> and the direct link to the latest download is <a href="http://sourceforge.net/project/downloading.php?group_id=79926&use_mirror=superb-east&filename=jexcelapi_2_6_4.zip&67121073">http://sourceforge.net/project/downloading.php?group_id=79926&use_mirror=superb-east&filename=jexcelapi_2_6_4.zip&67121073</a>

/Mattias