Computing.Net > Forums > Programming > J2EE and scheme

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

J2EE and scheme

Reply to Message Icon

Name: soothsayer
Date: October 17, 2004 at 14:23:32 Pacific
OS: Mandrake 10
CPU/Ram: 512
Comment:

Hi, i've been using NetBeans to program
Java. I started to learn scheme. When i try
to load a file, it said something like:
java.lang.NoClassDefFoundError:
javax/mail/internet/MimeMessage

I had a look at the class in NetBeans and
"packages javax.mail.internet doesn't
exist"

I did download and installed J2EE bundle,
but don't know how to make it work.
Please tell me, im so newbie



Sponsored Link
Ads by Google

Response Number 1
Name: Guy
Date: October 19, 2004 at 05:18:36 Pacific
Reply:

javax.mail.internet.MimeMessage is part of the Java Mail API.

The jar is usually named "mail.jar".

You can download from Sun:

http://java.sun.com/products/javamail/

(Interesting that it is not part of the NetBeans bundle ....)

Guy


0

Response Number 2
Name: soothsayer
Date: October 19, 2004 at 09:36:03 Pacific
Reply:

I have the file mail.jar in java
directory. But what do i do next? I'm not
familiar with .jar file


0

Response Number 3
Name: gpp
Date: October 20, 2004 at 08:56:11 Pacific
Reply:

It has been a while since I've used netbeans, but in the file tree view, there is an option to import jars. Otherwise, it should go in the lib directory for that particular project... of course, since this is a package that many sites might access, its better practice to have it in a common area.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: J2EE and scheme

Difference between J2EE and .NET www.computing.net/answers/programming/difference-between-j2ee-and-net/6630.html

Alerting programs www.computing.net/answers/programming/alerting-programs/8550.html

programming in python www.computing.net/answers/programming/programming-in-python/2753.html