Any way to reduce class file size?

Somewhere during my travels on the net I remember seeing something about a utility that reduces the size of java class files, eg by optimizing. I think it is an IBM product. Anybody know about this?
I am writing a midlet that needs to be less than 70K in size (JAR file), but currently its at about 100K -- any suggestions on how to reduce the size of the class files?
Thx,
Fred

Yes, I think you are refering to JAX by IBM.
I have just started using it a couple of days ago. It reduced my 130k application to 70k good tool.
Here is the link :
http://www.alphaworks.ibm.com/tech/JAX
Look for verion 6.1 that on if free. The new version is very expensive $1000 :(.
6.1 works well.

Similar Messages

  • Exporting a book to pdf - any way to reduce the file size?

    Hi,
    So I have made a book using iPhoto and would like to send a pdf copy of it to another person who will fill in the texts. I am able to save the book as pdf via the print menu but the resulting file is over 300 mb in size (the book has only 20 pages)! On the one hand i like the fact that iPhoto is not downsampling my photos but it's a bit difficult trying to send a 300+ mb file over email Is there any way to create a pdf with the images compressed so i could send it as an attachment?

    http://beyondteck.blogspot.com/2008/11/how-to-reduce-pdf-file-sizes-on-mac.html
    Google is your friend.
    Regards
    TD

  • A simple and free way of reducing PDF file size using Preview

    Note: this is a copy and update of a 5 year old discussion in the Mac OS X 10.5 Leopard discussions which you can find here: https://discussions.apple.com/message/6109398#6109398
    This is a simple and free solution I found to reduce the file size of PDFs in OS X, without the high cost and awful UI of Acrobat Pro, and with acceptable quality. I still use it every day, although I have Acrobat Pro as part of Adove Creative Cloud subscription.
    Since quite a few people have found it useful and keep asking questions about the download location and destination of the filters, which have changed since 2007, I decided to write this update, and put it in this more current forum.
    Here is how to install it:
    Download the filters here: https://dl.dropboxusercontent.com/u/41548940/PDF%20compression%20filters%20%28Un zip%20and%20put%20in%20your%20Library%20folder%29.zip
    Unzip the downloaded file and copy the filters in the appropriate location (see below).
    Here is the appropriate location for the filters:
    This assumes that your startup disk's name is "Macintosh HD". If it is different, just replace "Macintosh HD" with the name of your startup disk.
    If you are running Lion or Mountain Lion (OS X 10.7.x or 10.8.x) then you should put the downloaded filters in "Macintosh HD/Library/PDF Services". This folder should already exist and contain files. Once you put the downloaded filters there, you should have for example one file with the following path:
    "Macintosh HD/Library/PDF Services/Reduce to 150 dpi average quality - STANDARD COMPRESSION.qfilter"
    If you are running an earlier vesion of OS X (10.6.x or earlier), then you should put the downloaded filters in "Macintosh HD/Library/Filters" and you should have for example one file with the following path:
    "Macintosh HD/Library/Filters/Reduce to 150 dpi average quality - STANDARD COMPRESSION.qfilter"
    Here is how to use it:
    Open a PDF file using Apple's Preview app,
    Choose Export (or Save As if you have on older version of Mac OS X) in the File menu,
    Choose PDF as a format
    In the "Quartz Filter" drop-down menu, choose a filter "Reduce to xxx dpi yyy quality"; "Reduce to 150 dpi average quality - STANDARD COMPRESSION" is a good trade-off between quality and file size
    Here is how it works:
    These are Quartz filters made with Apple Colorsinc Utility.
    They do two things:
    downsample images contained in a PDF to a target density such as 150 dpi,
    enable JPEG compression for those images with a low or medium setting.
    Which files does it work with?
    It works with most PDF files. However:
    It will generally work very well on unoptimized files such as scans made with the OS X scanning utility or PDFs produced via OS X printing dialog.
    It will not further compress well-optimized (comrpessed) files and might create bigger files than the originals,
    For some files it will create larger files than the originals. This can happen in particular when a PDF file contains other optomizations than image compression. There also seems to be a bug (reported to Apple) where in certain circumstances images in the target PDF are not JPEG compressed.
    What to do if it does not work for a file (target PDF is too big or even larger than the original PDF)?
    First,a good news: since you used a Save As or Export command, the original PDF is untouched.
    You can try another filter for a smaller size at the expense of quality.
    The year being 2013, it is now quite easy to send large files through the internet using Dropbox, yousendit.com, wetransfer.com etc. and you can use these services to send your original PDF file.
    There are other ways of reducing the size of a PDF file, such as apps in the Mac App store, or online services such as the free and simple http://smallpdf.com
    What else?
    Feel free to use/distribute/package in any way you like.

    Thanks ioscar.
    The original link should be back online soon.
    I believe this is a Dropbox error about the traffic generated by my Dropbox shared links.
    I use Dropbox mainly for my business and I am pretty upset by this situation.
    Since the filters themsemves are about 5KB, I doubt they are the cause for this Dropbox misbehavior!
    Anyway, I submitted a support ticket to Dropbox, and hope everything will be back to normal very soon.
    In the meantime, if you get the same error as ioscar when trying to download them, you can use the link in the blog posting he mentions.
    This is out of topic, but for those interested, here is my understanding of what happened with Dropbox.
    I did a few tests yesterday with large (up to 4GB) files and Dropbox shared links, trying to find the best way to send a 3 hour recording from French TV - French version of The Voice- to a friend's 5 year old son currently on vacation in Florida, and without access to French live or catch up TV services. One nice thing I found is that you can directly send the Dropbox download URL (the one from the Download button on the shared link page) to an AppleTV using AirFlick and it works well even for files with a large bitrate (except of course for the Dropbox maximum bandwidth per day limit!). Sadly, my Dropbox shared links were disabled before I could send anything to my friend.
    I may have used  a significant amount of bandwidth but nowhere near the 200GB/day limit of my Dropbox Pro account.
    I see 2 possible reasons to Dropbox freaking out:
    - My Dropbox Pro account is wronngly identified as a free account by Dropbox. Free Dropbox accounts have a 20GB/day limit, and it is possible that I reached this limit with my testing, I have a fast 200Mb/s internet access.
    - Or Dropbox miscalculates used bandwidth, counting the total size of the file for every download begun, and I started a lot of downloads, and skipped to the end of the video a lot of times on my Apple TV.

  • DivX to H.264 -- Any way to control for file size?

    Hi there,
    I'm converting DivX files that my digital camera uses to H.264 files. I'm using MPEG Streamclip to do this.
    It's working fine, but results in much larger files. For example, a 23.4MB DivX AVI file converts to a 89.6MB H.264 MP4 file. A 91.4MB DivX AVI file converts to a 414.2MB H.264 MP4 file.
    Is there any way to convert these using H.264 without sacrificing quality and without resulting in such large files? MP4 files work with Quicktime, iMovie and (under Leopard) the Finder much better than DivX files do. Any advice?
    Thanks in advance,
    Mike

    When you are playing a DixX file have a look at the bitrates - IIRC that is a mix of video (most of it) and audio codecs. Say it says 1000 kb/sec. If you open the file in (freebie) MPEG Streamclip and export to MPEG-4 selecting the iPod setting 320X240 you will get a 700 kb/sec video and 128 kb/sec audio so around 830 kb/sec. The file will be smaller.
    If you pick the Apple TV export preset it is at about 1500 kb/sec so the result will be 50% bigger.
    Depending on the source codec using a lot higher H264 bitrates may not make it look better anyway (you cannot create data) , so try the basic iPod setting - benefit - reasonably small - a 45 minute TV show for me is about 270MB yet looks good on a TV set via iPod, and you will have iPod compatibility as well.
    Use MPEG Streamclip 1.9b3 version.

  • Is there a way to "compress" or reduce keynote file size?

    I have transferred some PowerPoint presentations to Keynote and in general have had no difficulty. However, I can "compress" the pictures in PowerPoint which makes the file size much smaller.
    Is there any way to reduce the file size of a Keynote presentation?
    Thanks,
    GS KLIVANS
    MacBook Pro   Mac OS X (10.4.10)  
    MacBook Pro   Mac OS X (10.4.10)  

    hi I am trying to do a project of putting a keynote saved as a quicktime into garageband and adding audio and then compressing it via Share ...sent to itunes etc. It does get smaller.
    But Are there any experts out there on putting a keynote with narration into garageband. I loose all of the timing control when I send it to quicktime. It seems like a LOT of steps.
    Also, putting a narration into keynote is so long. Power Point just lets you record the narration on each slide. So I was putting it into garageband and trying to add the narration podcast style. Any suggestions.

  • Using Pages with iOS. How do I reduce image file size when I create a document with embedded images?

    Hi,
    I have created an annual family news letter in Pages on my iPad which incorporates pictures of events, holidays, occasions etc etc. I've then gone to covert it to pdf with the intention of sharing it via email but get a warning message about the resulting file size (in this case 16Mb).
    Is there any way of reducing the file size - which is obviously being driven by the images?  The pics are being pulled in from the iPad photo library.
    Thanks Mike

    (1) you are asking about Pages for iOS in a forum dedicated to Pages for OSX.
    Most of us aren't using Pages for iOS so it would be more efficient to ask in the forum dedicated to iWork for iOS (at this time this discussion area isn't divided in three areas).
    https://discussions.apple.com/community/app_store/iwork_for_ios
    (2) As you understood why your file is huge, the answer is simple : reduce the size of your picture files before inserting them in Pages documents.
    Drop the unneeded areas, reduce the resolution in tools dedicated to image processing before inserting them.
    Yvan KOENIG (VALLAURIS, France) mercredi 21 décembre 2011 18:32:19
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Reducing PDF File Sizes

    We create and use numerous pdf files, some with fill-in fields and some without. Is there a way to reduce the file size without adversely affecting response time to open the file? Some of us are running Acrobat Professional version 7 and others are running version 8. Some of us have Windows XP and some have Windows 2000.
    Any help you can give us would be greatly appreciated.
    Thanks.
    Ken K

    >I thought that if a file was compressed in some way that it might take some time to decompress the file.
    I see - entirely reasonable to think that. However, almost every PDF
    is already compressed using technologies like ZIP or JPEG. When you
    reduce the file size you are usually doing some combination of
    * reducing image resolution
    * using more agressive JPEG compression
    * deleting stuff you can live without
    So this doesn't affect the load time.
    JPEG 2000 compression is stronger and a bit slower, but probably
    nothing to worry about, especially if you don't have high resolution.
    Aandi Inston

  • Reduce .PDF file size in Acrobat 5.0

    Hi. Seems like there are plenty of ways to reduce the file size of .pdfs in later versions of Acrobat than in 5.0. Does anyone know of any I could try in the 5.0 version?
    The doc is 122 pages, all in black & white & has some images.
    I do not have the original doc. I did not make it. I am just trying to reduce the size to put it on the web.
    ps-I did try using Distiller, but the images got a little too sketchy looking.
    Thank you.
    Jules

    I tried it at home & I used the optimize pdf thing. It went from 17MB to 12MB so I re-optimized it & got it down to 3MB. It's as good as it is going to get. The big problem is that the .pdf that I have was scanned on a copier machine.
    I printed the 3MB pdf on the color printer & it came out okay, but then I printed it on the black & white printer & it barely had any ink on the page....
    I am just going to not bother with it anymore. Not much I can do with a scanned document & it's not even my job to begin with!
    Thanks Bill.
    Jules

  • Posting Again: How do you reduce a file size on a quicktime file?

    I have a 16.9 meg movie in quicktime, and am trying to export it so I can upload a smaller version online. Whenever I try to export it using various quicktime settings, there's no audio on the exported file. I'm selecting Export from the File menu, then Standard Video Compression settings of H.264, optimized for streaming, most recent settings, quicktime movie to quicktime movie.
    To reduce a movie, or shrink it, what are the best settings to use? Or even settings that work? I posted this a few days ago and there weren't any responses so I'm trying again. Please help.

    I've been using MPeg Streamclip to export the files as a quicktime movie. And there is sound. But the thing is, the file sizes are huge. Last export was 160 megs...too big to put on a web page. So I'm interested in shrinking that. I tried ISquint, but it converts it into an MPeg movie, and I'd like to keep it as a quicktime file for the website. Whenever I export using Quicktime, and I've updated to the most current version, there's no sound. If anyone knows of a good way to reduce the file size, either using MPeg Streamclip, or any other shareware or freeware programs, please let me know.

  • How can I reduce the file size of 3 videos?...

    ...without losing quality? These three videos are as follows in terms of size and length of the video:
    1) 148MB 19minutes
    2) 357MB 18minutes
    3) 164MB 14minutes
    I tried using a video converter to reduce the bit rate in order to reduce the size, which i know affects the quality, but that did not actually work to reduce the file size this time.
    I thought perhaps i should ask my forum friends for help on this matter. How,if at all, can I get all three of these MOV's under 100mb or to a total of 300mb for all 3 and preserve quality? It has to be able to play on an ipad (MOV or MP4). Thanks for your help!

    I think that the point that David was trying to make is that reducing the amount of information originally provided by a product or part of it in order to make it smaller will inevitably reduce the efficiency of the product itself.
    However, you don't have access to the original masters? Then you might be after a good compromise, meaning a video that can display decent quality while playing at its original frame size (say on the web).
    Does this mean that there is no real way to reduce the size without losing quality?
    If your target is the web there is a way to reduce the file size and still make it look decent enough. Re-compression means loss of source information but video compression is an art on its own and can produce some amazing results!
    Not without testing though.
    Now back to my previous post, use Compressor to try to reduce the file size and compare the result quality. Trust your eyes and be honest with yourself.

  • Reducing MP4 File Size for online upload

    I have a short HD video almost 1 GB in size (impossible to upload online). Is there an easy way to reduce the file size using IMovie or another program that I don't have to go out and buy?

    I don't think you'll have too much success with this. Mpegs are already compressed files, so there's no real benefit to trying for further reduction. In some cases using compression software will make the resulting file larger than the original.
    There are utilities that can be used to slice up a file into smaller parts that can then be reassembled. For example, Movie Cutter, SplitFuse, Split&Concat, MacAppStuff Pieces are a few. Look for them at VersionTracker or MacUpdate. Stuffit Deluxe is a commercial product that includes the ability to split and join multiple pieces of a file archive and has the benefit of being available on both Macs and PCs.
    You can then split a large file into several smaller files to send via email or to upload to file server sites. Of course the recipient will need a compatible utility to join the pieces.

  • Reducing MP4 File Size

    I have a short HD video almost 1 GB in size (impossible to upload online). Is there an easy way to reduce the file size using IMovie or another program that I don't have to go out and buy?

    I don't think you'll have too much success with this. Mpegs are already compressed files, so there's no real benefit to trying for further reduction. In some cases using compression software will make the resulting file larger than the original.
    There are utilities that can be used to slice up a file into smaller parts that can then be reassembled. For example, Movie Cutter, SplitFuse, Split&Concat, MacAppStuff Pieces are a few. Look for them at VersionTracker or MacUpdate. Stuffit Deluxe is a commercial product that includes the ability to split and join multiple pieces of a file archive and has the benefit of being available on both Macs and PCs.
    You can then split a large file into several smaller files to send via email or to upload to file server sites. Of course the recipient will need a compatible utility to join the pieces.

  • Have Tips On reducing .EXE File Size?

    Hello,
    Captivate exe file sizes are huge compared to comparable exe files produced by competitor software. I set my slide quality to Low, set swf conversion to 16 bit instead of 32 bit, set swf Size And Quality to 50%, and the .exe files are still huge. In fact, changing these settings made no difference to the file size.
    Anyone have any tips on reducing the file size of the Captivate Exes, or do you know of any utility that can make .exe files smaller?
    Thanks,
    Mike

    OK somewhere I got mixed up here.
    So far as I know, this blig post from the Adobe Captivate Blog explains what is meant to work
    http://blogs.adobe.com/captivate/2009/01/adding_rightclick_in_captivate.html
    Check the list at the bottom of the page:-
    1. Security Setting:   Ensure that the SWF you
    published is  in Flash Player's trusted path. If you are publishing to
    default folder (%My Document%\My Adobe Captivate Project) then you do
    not need worry about security settings as captivate automatically adds
    that path into trusted path of flash player.
                                   2. Disable accessibility: In order  to make Right-click work you will need to disable Accessibility from
                                   Adobe Captivate 4-> Preferences->Project->Publish settings->Enable Accessibility
                                   3. Right-Click will not work in  stand-alone SWF file.
                                   4. PDF and AVI publish: Right-Click  doesn’t work in PDF and AVI publish.
                                   5. EXE publish: Right-Click work for  AS2 EXE publish but not for AS3 EXE publish
                                   6. Preview (F4/F8/F10):  Right-Click work for AS2 movies but not for  AS3  movies
                                   7. Preview (F12, in Web Browser):  Right-Click works for both AS2 & AS3.
                                   8. SWF Publish (the standard one) : Works for both AS2 and AS3.
                                   9. Flash Player Version: Right Click  Doesn’t work for movie published Flash Player versions
                               earlier than 8.0
    If you are complying with the suggestions here (AS 2 EXE?) then right-click is supposed to work. But I have a feeling I've missed something in what you've said ... or you said it in another post which I've not read.
    Steve

  • Reducing a files size with high quality

    is there a way to reduce a file size from about 60M to about 500k and keeping the quality? dpi is 300

    If you are looking to "find how many pixels it has in each dimension", you'd look under "190M".
    Your task to reduce to 500kb is impossible. No image that large belongs on a webpage.
    If you reduce the width to roughly 1000 pixels and find that the text is unreadable, then you did not design the web page graphic properly. Start over on a document already sized for the web page. When designing web graphics, you should most always be looking at a 100% zoom view. Note the zoom percentage displayed in the image tab or image window title bar. Keep it at 100%.

  • Is there any way to reduce the JPEG compression ap...

    I'm wondering if there is any way to reduce the fierce amount of JPEG compression applied to photos taken with the 6220 classic? I'm 99.99% sure that there isn't, but I thought I'd ask anyway.
    I'm a professional graphic designer with 15 years experience, and as such understand the technicalities of digital imaging better than most.
    What the general public fails to understand is that ever higher megapixelage doesn't automatically equate to ever higher quality images.
    The 6220 classic has a 5MP camera, which is one of the reasons I bought it, along with the fact that it has a Xenon flash and a proper lens cover. Its imaging quality also generally gets very positive reviews online.
    However, the 6220 classic takes far poorer photos than my 5 year old Olympus digital camera which only shoots 4MP. Why is this? Many reasons. The Olympus has a much larger imaging chip, onto which the image is recorded (physical size as opposed to pixel dimensions), a far superior lens (physical size & quality of materials), optical (not digital) zoom, and the ability to set various levels of JPEG compression, from fierce (high compression, small files, low quality images) to none at all (no compression, large files, high quality TIFF-encoded images).
    When I first used the camera on the 6220 classic (I've never owned a camera phone before) I was appalled at the miniscule file sizes. A 2592 x 1944 pixel image squashed into a few hundred kilobytes makes a mockery of having decent pixel dimensions in the first place, but then the average consumer neither cares about nor would notice the difference. They're not going to be examining & working on their images in Photoshop on a 30" Apple Cinema Display.
    Is fierce JPEG compression (and an inability to alter it) the norm with camera phones, or do other camera phones (perhaps from other manufacturers) allow greater latitude in how images are compressed?
    Thanks.
    Solved!
    Go to Solution.

    Believe me, I was very aware that this was a phone with a camera attached, not a dedicated camera, before I bought it. I went into this with my eyes open. I knew the lens, imaging chip, zoom, etc, would all be grossly inferior, but given all of this, surely the phone manufacturers should help to compensate for this by adding a few lines of code to the software to reduce (or ideally remove) the JPEG compression, or at least give the user the option to do so if they want? The fierce compression just makes images obtained with compromised hardware even worse than they would have been otherwise.
    It adds insult to injury and is totally unnecessary, especially given that the memory card in the 6200 classic is 1GB but the one in my Olympus is only 128 MB! It's not as if lack of storage space is an issue! On the Olympus I can only take about 8 pictures without compression (although I could obviously buy a much larger memory card). On the 6220 classic, given the ridiculous amount of compression, there's room for over 1200 photos! It would be far better to let 70 uncompressed images be stored than 1200 compressed ones. Does anyone seriously need to take over a thousand photos on a camera phone without having access to a computer to offload them? I doubt it.
    Also, compressing the images requires processing power, which equals time. If they were saved uncompressed, the recovery time between shots would be reduced, although obviously writing the larger files to memory may offset this somewhat.
    Just to give people an idea, an uncompressed 8-bit RGB TIFF with pixel dimensions of 2592 x 1944 takes up approximately 14.5 MB of space. (The exact number of bytes varies slightly depending on the header information stored with the file). The 3 photos I've taken so far with the 6220 classic (and that I've decided to actually keep) have files sizes of 623, 676 & 818 KB respectively. An average of these 3 sizes is 706 KB. 706 KB is less than 5% the size of 14.5 MB, which means that, on average, the camera, after is records the 5038848 pixels in an image, throws over 95% of them away.
    I'm deeply unimpressed.

Maybe you are looking for

  • Problem in getting the database connection from a connection pool

    Hai All, I am facing a problem in getting the database connection from a connection pool created on weblogic server 8.1. I am using the Oracle database 8.1.7. I have configured my connection pool, datasource and JNDI in weblogic. In my java program i

  • NoClassDefFoundError when trying to return a custom Object

    Hi, I'm trying to get some system memory info from a Windows machine using Java. I've written the C code and Java code and it all compiles fine. I can also use most of the methods in the two files. I have a problem with one method though. Its a metho

  • Adobe Edge Animate cc

    Hi, I downloaded this and have a scyning error message & couldnt get rid of the error so I put it in the trash can and now i cant re-download the program. What should I do ? Thanks, Danielle

  • Conversion Exit on ALV fieldcatalog ?

    Hi all, I have an editable ALV grid and one of the column displays a field which is of the floating type. Now instead of the regular 1.2870001E+00, can I make it display 1.28 ( Decimal rounded to 2 decimal places). I am trying to modify the fieldcat.

  • Pls advice correct sequence of learning SAP-ABAP

    I am a new learner in SAP-ABAP so just wanted to know the correct sequence of learning the things in SAP-ABAP and also I need to become technically strong . So just tell me how should I start? because my conpany is going to start implementation ecc 6