homepage Welcome to WebmasterWorld Guest from 54.205.189.156
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
Executing java class which has .jar dependency
sorry if it's wrong place to post this
tatarin31




msg:3624939
 9:00 pm on Apr 11, 2008 (gmt 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

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved