Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: markspace Newsgroups: comp.lang.java.programmer Subject: Re: Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files Date: Fri, 26 Apr 2013 08:56:23 -0700 Organization: A noiseless patient Spider Lines: 23 Message-ID: References: <23e31e94-4892-4609-b85a-8d4cb3e2a583@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 26 Apr 2013 15:53:15 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="fba3415ba68d85d643935af2f52f0b4b"; logging-data="24349"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19m+zAlohqDf/dGgaXbpX5FEnOWmO6P0w8=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: <23e31e94-4892-4609-b85a-8d4cb3e2a583@googlegroups.com> Cancel-Lock: sha1:EdlU9W/Fu2lXCLC3d8hYG2uS7hw= Xref: csiph.com comp.lang.java.programmer:23655 On 4/26/2013 6:41 AM, clusardi2k@aol.com wrote: > (1) If I use the NetBeans IDE (6.8 version) and create a deployed > version of a fairly large project will it be exactly the same as > using the standard "javac" compiler deployed application on the > command line. > > Will the files produced by both tools be exactly the same. Can you, > please, tell me the differences that will occur. Depends. I'm pretty sure the .class files will be exactly the same. However, since a .jar file is just a zip file, the order of those .class files in the .jar won't be the same (possibly) and the .jar file won't byte-for-byte compare as equals. There might be other differences. NetBeans might decide to build a manifest file for you. Depending on your usage of the command line tools, you might not have a manifest at all. Etc. Since most folks (all?) don't care about "exact" differences, only that the execution is the same, or at least as expected, I doubt even the tool vendors could answer this question completely.