Welcome to WebmasterWorld Guest from 54.146.246.4

Forum Moderators: phranque

Message Too Old, No Replies

Executing java class which has .jar dependency

sorry if it's wrong place to post this

     

tatarin31

9:00 pm on Apr 11, 2008 (gmt 0)

5+ Year Member



Hi,

I could not find a JAVA related forum so I'm posting it here in hopes for an answer or this being redirected to correct forum.

I'm a newby to java programming and have the following problem. I have a java class that lives in a certain package a.b and also a mail.jar (JavaMail from sun) that leaves in another library package of the same project. I have imported the necessary files from mail.jar inside my java class file and have no compile errors there, however, when I run it I get the NoClassDefFound pointing at the jar file. Do i need to do anything else to tie them together?

thanks