Skip to main content

Java Mail and JEP-161 Compact Profiles

  2 posts   Feedicon  
Replies: 1 - Last Post: February 09, 2013 06:30
by: Bill Shannon
showing 1 - 2 of 2
Posted: February 06, 2013 15:18 by dang
Has any research been done into using Java Mail with the upcoming compact profiles as described in JEP-161? (http://openjdk.java.net/jeps/161)

JavaMail relies on the javax.activation packages. It appears this package will only be available in the full profile, which would prevent using Java Mail on devices which can only support the compact profiles.

I would like to be able to use Java Mail in embedded device that uses compact2 or compact3 profiles (much smaller footprint than JavaSE).

Based on a quick look at the source, removing usage of the activation packages would not be trivial. Any suggestions or alternative mail packages?

- Dan


Posted: February 09, 2013 06:30 by Bill Shannon
JAF (javax.activation) is available separately from Java SE.
You can download it here:
http://www.oracle.com/technetwork/java/javase/downloads/index-135046.html

However, JAF depends on the java.awt.datatransfer package,
which doesn't seem to be included in any of the profiles.
Removing that dependency would be difficult.
Replies: 1 - Last Post: February 09, 2013 06:30
by: Bill Shannon
 
 
Close
loading
Please Confirm
Close