I have added jcaptcha in a jsp page. I compiled the prject using java 6. But when i create a project using java 5.It gives exception doesnt work. Bad version number in .class file
I revereted bak to another jar it seems and old version now i am getting black and whit captcha.How can this be made into beautiful ones as in new version.
I use following code
// create the image with the text
BufferedImage bi = service.getImageChallengeForID(httpServletRequest.getSession(true).getId());
A table, a chair, a bowl of fruit and a violin; what else does a man need to be happy?:Einstein
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35249
7
posted
0
You're using an older JVM to execute the code than you're using to compile it. Code compiled in Java 6 needs at least a Java 6 JVM - you can't run it on a Java 5 JVM.