Welcome to WebmasterWorld Guest from 54.144.107.83

Forum Moderators: phranque

Message Too Old, No Replies

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)

New User

5+ Year Member

joined:Apr 11, 2008
posts: 2
votes: 0


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

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members