Welcome to WebmasterWorld Guest from 54.144.243.34

Forum Moderators: phranque

Executing java class which has .jar dependency

sorry if it's wrong place to post this

   
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

 

Featured Threads

Hot Threads This Week

Hot Threads This Month