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.
If NetBeans is running on JDK 1.6.x then Glassfish must be running on JDK 1.6.x Otherwise if Glassfish is running on a JDK 1.5 then deployment will fail with an error similar to this: "java.lang.UnsupportedClassVersionError: PWC1651: Class webapplication37.ApplicationBean1 has unsupported major or minor version numbers, which are greater than those found in the Java Runtime Environment version 1.5.0_12 "
To be documented in the release notes
Release note added. Issue #114453: Deployment fails if NetBeans and GlassFish not running on same version of Java. Description: If NetBeans is running on JDK 1.6.x then Glassfish must be running on JDK 1.6.x. If GlassFish is running on an earlier JDK, deployment fails with a java.lang.UnsupportedClassVersionError. Workaround: No workaround.
Since a release note has been added then this issue has been resolved
Can be moved to the FAQ list