On 5/10/13 11:17 AM, Mike Matrigali wrote:
If it is not too hard I wonder if we should disable derby from booting
if the jvm is not 1.6 or higher, with hopefully a clear message saying
why the boot is failing.
Hi Mike,
I'm not sure we can do much here. The compiled Derby byte code will be
Java 6 byte code. If you try to run Java 6 byte code on an older VM you
will get a java.lang.UnsupportedClassVersionError. This error is raised
as the VM tries to load Derby, that is, long before we have an
opportunity to inject an explanatory message.
But perhaps someone else has a clever idea.
Thanks,
-Rick