For Programmers: Free Programming Magazines  


Home > Archive > Java Help > August 2006 > Re: javac Flags









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: javac Flags
Andrew Thompson

2006-08-28, 7:03 pm

dimitrik107@hotmail.com wrote:
> Andrew Thompson wrote:
....[color=darkred]
...[color=darkred]
> Thank you. What flags you find useful? In general not only for speed.


The only compiler flags I regularly need to use are the
ones to do with compilation for particular Java versions.
These are also known as 'cross-compilation options'
in the docs., they are -target and -bootclasspath.

Occasionally I use the -deprecation flag to find what method
or attribute is used by code I am importing that has been
marked as deprecated, but this is usually unnecessary,
since it often comes down to a call to frame.show()
or similar, that is pretty easy to spot anyway.

Andrew T.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com