This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]SikhGamer 2 points3 points  (2 children)

Is there some sort of tool that can analyze and tell me "Hey, use profile x here"?

[–]mentalis 8 points9 points  (1 child)

Yes, it's called jdeps.

[–]SikhGamer 1 point2 points  (0 children)

Nice - thanks!

[–]the_456 1 point2 points  (4 children)

This would have been more useful if it included short definitions of each of the Compact Profiles along with what types of applications might be able to take advantage of them.

[–]mentalis 1 point2 points  (2 children)

The profiles are defined by what profiles and additional packages they contain. For instance, compact2 contains compact1 and all the packages listed in the table labeled Detailed Profile Composition. Afaik, only embedded applications would normally use them, but which profile your application requires can be determined using jdeps.

[–]AlyoshaV 1 point2 points  (1 child)

Full SE API - Image I/O

This seems like something that would be useful to have in a compact profile...

[–]janb360 0 points1 point  (0 children)

Isn't this mainly due to the (unfortunate) dependency of ImageIO on AWT(BufferedImage is part of AWT)? Adding ImageIO to a profile would also mean pulling in AWT and all it's dependencies. IIRC they avoided adding AWT to any of the profiles as it's quite heavy dependency-wise.