How to decrease size of j2sdk_image

Henri Gomez henri.gomez at gmail.com
Thu Oct 11 11:58:32 UTC 2012


I'm removing *.diz file in my RPM packaging for obuildfactory.


2012/10/11 matchew <mkorszun at gmail.com>:
>
> are there any other big files i can safely remove?
>
>
> Roman Kennke-2 wrote:
>>
>> Am Donnerstag, den 11.10.2012, 03:13 -0700 schrieb matchew:
>>> actually it does not solve my problems. Still this directory has more
>>> than
>>> 100MB. I have checked its content and there is one big file:
>>> j2sdk-image/jre/lib/amd64/server/libjvm.diz which is 92MB .
>>
>> This is the debug symbols, which are not needed, unless you want to
>> debug the native code of the JVM/JDK. Should be safe to rm -rf it.
>>
>> Roman
>>
>>>
>>>
>>> weijun.wang-2 wrote:
>>> >
>>> > You can try set ENABLE_FULL_DEBUG_SYMBOLS to 0.
>>> >
>>> > -Max
>>> >
>>> > On 10/11/2012 02:38 PM, matchew wrote:
>>> >>
>>> >> After successful openJDK7 build (Ubuntu 12.04) i have found that
>>> >> 'j2sdk-image' has 240MB. More than 100MB belongs to one directory:
>>> >> openjdk7/jre/lib/amd64
>>> >>
>>> >> Can anyone explain me why it is so big? For example in openJDK7
>>> installed
>>> >> via package manager this folder has only 18MB
>>> >>
>>> >> Is there any way to decrease its size?
>>> >>
>>> >> Thanks in advance
>>> >> --
>>> >> Mateusz
>>> >>
>>> >
>>> >
>>
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/How-to-decrease-size-of-j2sdk_image-tp34537128p34541935.html
> Sent from the OpenJDK General discussion mailing list archive at Nabble.com.
>



More information about the discuss mailing list