Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23655

Re: Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files

From markspace <markspace@nospam.nospam>
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 2013-04-26 08:56 -0700
Organization A noiseless patient Spider
Message-ID <kle7tb$not$1@dont-email.me> (permalink)
References <23e31e94-4892-4609-b85a-8d4cb3e2a583@googlegroups.com>

Show all headers | View raw


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.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files clusardi2k@aol.com - 2013-04-26 06:41 -0700
  Re: Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files markspace <markspace@nospam.nospam> - 2013-04-26 08:56 -0700
  Re: Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files Jeff Higgins <jeff@invalid.invalid> - 2013-04-26 14:08 -0400
  Re: Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files Lew <lewbloch@gmail.com> - 2013-04-26 13:11 -0700
  Re: Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files Arne Vajhøj <arne@vajhoej.dk> - 2013-04-26 16:37 -0400

csiph-web