cancel
Showing results for 
Search instead for 
Did you mean: 

How to add external libraries to Java DC?

Former Member
0 Kudos

Hi All,

How to add external libraries to Java DC?

I followed

/people/bala.krishnan2/blog/2006/09/25/bid-adieu-to-bots--using-captchas

I am getting an error like ClassNotFoundException.

While running main java program it’s unable to find libraries (Class) files.

Help will be appreciated.

Thanks & Regards

-SS

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

Thanks everybody

Solved by own.

/people/bala.krishnan2/blog/2006/09/25/bid-adieu-to-bots--using-captchas

Followed above Blog while reffering in another DC changed dependencies type.

Thx & Regards

-SS

Former Member
0 Kudos

chk it

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

Former Member
0 Kudos

hi sridhar

In Developer Studio

1) Go to NAVIGATOR TAB

2) Create a folder <b>lib</b>[if it is not available] in the same level as <b>bin</b>

3)*just paste your external library file there in <b>lib</b> directory which you have created

4)* Go to WebDynpro Explorer>Select Project name>right click>properties>java build path-->add external jars..select the pasted jar file in the list

Regards

Chaitanya.A

Former Member
0 Kudos

Hi Chaitanya,

I followed same steps which you advised but same problem.

After build of JavaDC all libraries are removing from Java build Path of External Libraries.

Thx & Rgds

-SS

Former Member
0 Kudos

chk it

Former Member
0 Kudos

Hi

Keep your lib files in a folder,

Right click on your project>properties>

Select JavaBuildPath > Select Libraries tab >click on add external Jars button >

Select jar from your folder > click on open> then click on ok.

Regards

Abhijith YS

Former Member
0 Kudos

Hi Abhijith,

the answer which you posted is correct if the error is at compile time..but the error is at runtime

so he need to create a folder in navigator->lib then paste the jar files here also..

Regards

Chaitanya.A

Former Member
0 Kudos

Hi Abhijith,

What ever you suggested i've done.With out building It's working fine.

But the problem is

when ever i build the JavaDC i am getting reference classfiles (Libraries) not found and moreover it's deleting all libraries class from following Path

JavaBuildPath > Select Libraries tab >click on add external Jars button

It's strange while building Java DC.

Is anybody have experiance on the above. If "yes" Please guide me.

Thanks & Regards

-SS