|
Author |
Topic: .jar file size (Read 274 times) |
|
heliodrop
|
.jar file size
« on: Aug 2nd, 2003, 3:38am » |
|
hi, i have noticed that an empty sketch (published to the web) generates a .jar file of 64Ko i just want to know if all these import are useful in every cases. Code:import java.applet.*; import java.awt.*; import java.awt.image.*; import java.awt.event.*; import java.io.*; import java.net.*; import java.text.*; import java.util.*; import java.util.zip.*; |
| for example, is the java.text.* useful if the sketch doesn't use any font ?
|
|
|
|
fry
|
Re: .jar file size
« Reply #1 on: Aug 3rd, 2003, 6:04pm » |
|
the import statements are only used by the compiler, so they don't actually affect the size of the .jar at all. the .jar file size is getting big, it's true. it's just the runtime classes ("bagel") we'll be trying to pare that down a bit for the beta.
|
|
|
|
heliodrop
|
Re: .jar file size
« Reply #2 on: Aug 3rd, 2003, 6:59pm » |
|
ok thanks for the explanation.
|
|
|
|
|