FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Suggestions
   Software Suggestions
(Moderator: fry)
   .jar file size
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: .jar file size  (Read 274 times)
heliodrop

WWW
.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


WWW
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

WWW
Re: .jar file size
« Reply #2 on: Aug 3rd, 2003, 6:59pm »

ok
thanks for the explanation.
 
Pages: 1 

« Previous topic | Next topic »