File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Performance and the fly likes Class size optimization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Class size optimization" Watch "Class size optimization" New topic

Class size optimization

Rob Gratz

Joined: Oct 16, 2000
Posts: 1
What javac options will reduce the size of the resulting class file. I know -g:none will remove any debug information, but are there any others, specifically for JDK1.3?
Jack Shirazi
Ranch Hand

Joined: Oct 26, 2000
Posts: 96
That's the only option. You are better off looking for products that shrink class files, like DashO (check the resources page at my site).
This subject has also been discussed in the 'optimize download class file' thread.
I agree. Here's the link:
subject: Class size optimization
It's not a secret anymore!