Re: NetBeans noobie Q: Compiling for Windows and Mac
Mary Pegg wrote:
Hi, I inherited a Java project, which involved a very simple change to
the source to fix it, and I've now produced a working .jar file using
NetBeans 5.5 (on Ubuntu 6.10).
I'm a NetBeans noob.
The original distribution (i.e. download directory) contained four files:
proj-java.zip
proj-osx.dmg.gz
What is in this file? It sounds the one most closely
related to Mac.
proj-win.zip
proj-winjre.zip
all about 6MB in size apart from the Windows JRE one (about 28MB).
Very few people would distribute a JRE, the only
reasons I can think of to do so are..
The company has an extremely fast LAN
The product is only known to work using one single
obscure JRE micro-version.
What reason does this app. use?
So far I've created a new proj-java.zip; how do I get NetBeans to
produce the OS-specific files?
What 'OS' specific files? The only OS specific files mentioned
so far are the Win JRE, and while it would not be common
to provide a Win JRE, I have never heard of 'private' vendors
for Mac. Java - which is supplied by Macintosh, along with
the OS (AFAIU).
Hope this is the appropriate newsgroup.
This is a good one for this question, but I think
we need a lot more details on this 'deployment'
to help you.
E.G. The file you listed were all Zip files - these might
be 'launched' easily using web-start, but failing using
web-start - what is the 'installation procedure'? What
do each of the Zips contain? Do they contain 'loose'
resources, or other Zip and Jar archives?
Does the project include DLL's or .so files?
(I am a little confused when you mention 'OS specific'
files - good java projects should have very few resources
which are specific to an OS. Beyond the JRE, it would
be OS specific natives.. thats about it, I think)
Andrew T.