Eclipse: Java application size -


so made final stage of simple java app runs under windows , used user name , log in remote excel file. until ok. when externelize (does word exist?) app make runnable jar size of app 22mo! wich huge since want use in email (outlook). here come question (finally). can delete of default java jars in classpath , app still run ?? if yes, ones?? nb: tried including imports in ss if nb2: jar of app self 20ko , ressources around 22mo .

by way thank helping me make app website eventhought didn't ask question until you'll still answered them all..you rock !

those imports:

import java.io.file; import java.io.fileinputstream; import java.io.filenotfoundexception; import java.io.fileoutputstream; import java.io.ioexception; import java.util.iterator;  import org.apache.poi.hssf.usermodel.hssfsheet; import org.apache.poi.hssf.usermodel.hssfworkbook; import org.apache.poi.ss.usermodel.cell; import org.apache.poi.ss.usermodel.row; import org.eclipse.swt.swt; import org.eclipse.swt.events.selectionadapter; import org.eclipse.swt.events.selectionevent; import org.eclipse.swt.widgets.button; import org.eclipse.swt.widgets.control; import org.eclipse.swt.widgets.display; import org.eclipse.swt.widgets.label; import org.eclipse.swt.widgets.messagebox; import org.eclipse.swt.widgets.shell; import org.eclipse.ui.forms.widgets.formtoolkit; import org.eclipse.wb.swt.swtresourcemanager; 

edit: after discussions managed reduce size of app 8mo deleting of jar in referenced library (org.ibm.icu.jar). app still runs without it

a jar file zip file, unzip file , see comes , large. standard java libraries, should not part of jar part of jre.

however, suspicion use apache poi , huge. if writing excel file might have stick size or find library.

you example write output csv lightweight.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -