Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Making JRE smaller (portable)

843798Aug 16 2007
I've already done a simple application and I wanted to make it as portable as possible... I'm using jre1.60_02 which, compressed, is about 17mb and my application, is a .jar file which size is less than 50 kb.
I've read in README.TXT (which installs with jre) i could remove a couple of files... anyway... those files rerpresent 1 or 2 mb...
Is there any way to make it smaller keeping it legal :) ?

I've removed this files under windows (if i've removed a file i shouldn't have please let me know)

lib\ext\sunjce_provider.jar
lib\ext\localedata.jar
lib\ext\ldapsec.jar
lib\ext\dnsns.jar
bin\rmid.exe
bin\rmiregistry.exe
bin\tnameserv.exe
bin\keytool.exe
bin\kinit.exe
bin\klist.exe
bin\ktab.exe
bin\orbd.exe
bin\servertool.exe
bin\javaws.exe
lib\javaws.jar
bin\java.exe
bin\javacpl.exe
bin\jucheck.exe
bin\jusched.exe
bin\wsdetect.dll
bin\npjpi160_02.dll
bin\NPJava11.dll
bin\NPJava12.dll
bin\NPJava13.dll
bin\NPJava14.dll
bin\NPJava32.dll
bin\NPOJI610.dll
bin\RegUtils.dll
bin\axbridge.dll
bin\deploy.dll
bin\jpicom.dll
bin\javacpl.cpl
bin\jpiexp.dll
bin\jpinscp.dll
bin\jpioji.dll
bin\jpishare.dll
lib\deploy.jar
lib\plugin.jar
lib\javaws.jar

Any ideas?

Thanks four your time :)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 13 2007
Added on Aug 16 2007
0 comments
441 views