> I have some simple optical design tools that I make available
> on the web. Up to now, I have been delivering them in versions
> for 1.4.2 and 1.5.0. To do that, I have been using Netbeans
> for daily development (1.5.0) and Sun ONE Studio sor simple
> compilation and test (1.4.2), although I'm not sure that is
> 100% effective as the libraries used may still be the 1.5 set.
-bootclasspath option to javac tells what libraries to use.
<http://java.sun.com/javase/6/docs/technotes/tools/solaris/javac.html#crosscomp-e
xample>
Documentation is your friend.
> A friend has suggested that I start thinking about delivering
> a version in 1.6 as well. Obviously, my methodology cannot
[quoted text clipped - 9 lines]
>
> Multiple platforms is not a solution for me.
From your description, you already have multiple platforms, Java 1.4 and Java 5.
NetBeans will work with all versions of Java. It wraps the -source, -target
and -bootclasspath options to javac.
Tell NetBeans what JDKs you have. In project properties, tell NB for what
version of Java to target your app.
NB itself can run on Java 6 in all cases. It will correctly associate your
project with the Java version you put in the project properties.

Signature
Lew
Richard F.L.R.Snashall - 20 Nov 2007 18:22 GMT
>> I have some simple optical design tools that I make available
>> on the web. Up to now, I have been delivering them in versions
>> for 1.4.2 and 1.5.0. To do that, I have been using Netbeans
> From your description, you already have multiple platforms, Java 1.4
> and Java 5.
[quoted text clipped - 7 lines]
> NB itself can run on Java 6 in all cases. It will correctly associate
> your project with the Java version you put in the project properties.
Thank you! Now I don't even need (or have) the two independent
development environments!