This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It will be better to show warning dialog before the jnlp is build with samethink like this: JNLP Build doesn't work with jdk 1.4.x. Start IDE with jdk 1.5. Ant's messages on JNLP building when is used jdk 1.4.2: ---- Copying 1 file to /usr/local/pzajac/tmp/feedreader-suite-4/build/jnlp Your JNLP file is generated at /usr/local/pzajac/tmp/feedreader-suite-4/build/jnlp/master.jnlp build: /usr/local/pzajac/newdev/netbeans/harness/suite.xml:152: The following error occurred while executing this line: /usr/local/pzajac/newdev/netbeans/harness/jnlp.xml:110: Point -Djnlp.servlet.jar to your jnlp-servlet.jar, usually in $JDKHOME/sample/jnlp/servlet/jnlp-servlet.jar BUILD FAILED (total time: 48 seconds) ---
What about notice in Release notes?
It *should* build correctly with JDK 1.4, but you will need to manually define the mentioned property, since JDK 1.4 does not ship with javaws by default. The proper behavior should be to open a filechooser to let the user find the right servlet JAR. But I don't think we'll do this for 5.0. Better to spend time making things work nicely on Tiger and Mustang.
Well, the only thing that does not work is build war file. Otherwise execution and debugging should work. If that is the case I believe the warning is sufficient and the issue is not priority at all.
A warning *is* sufficient but an error message from Ant is not very friendly; most people will just panic and not actually read the error message.
Would it be good idea to reuse the servlet jar from the IDE we are running in?
Different JAR. (jnlp-servlet.jar, not servlet.jar) Since 1.4 won't be supported in the trunk, I don't think we'll bother with this.
I agree, that there is no reason to support jdk 1.4 anymore.