Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jar file problem , please help

843810Feb 21 2007 — edited Feb 24 2007
Hi guys , i am not sure if i am in the right place to have this post in so i'll give it a try

i know my explanation might be a shot in the dark but i'll try my best
----------------------------------------------------------------

i have made a program using eclips , to send emails using my email , on certain conditions

so when that codition happenes on some class in my program
this class will call the email class and send an email to someone

now the problem is not in the program , because as along as this program is in eclips and i run the program in eclips , everything goes fine , No errors what so ever

but , if i make jar file , using eclips "export"
once i run the program , the program would run , but once the same condition that ihave specified previously happenes , the current class never calls the email class , and no emails would be sent

i am very confused wether
1) it throws a class not found for some wierd reason
2) or the external library that i used to send emails , is not exported

i tried to check the CLASSPATH file and i think everything seems to be fine , so i dont know what the problem is


so in short
if the program is in eclips , every thign goes fine
if the program is a jar file , then it would work fine but once it needs to send an email , it never does and i can still work on the program , but no emails will be sent


thanks please some one help me out with this
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 24 2007
Added on Feb 21 2007
42 comments
202 views