Re: ERCaptcha with Java 1.8 shows black image only
Re: ERCaptcha with Java 1.8 shows black image only
- Subject: Re: ERCaptcha with Java 1.8 shows black image only
- From: Konrad Kubacki <email@hidden>
- Date: Thu, 07 Jan 2016 12:54:23 +0100
Create your own MyCaptchaEngine, and set it className in property named
er.captcha.captchaEngineClass=com.mypackage.MyCaptchaEngine
In your Engine do not use image deformations filters from
com.jhlabs.image package. Captcha will show, but it would be quite easy
to break.
W dniu 30.12.2015 o 20:00, CHRISTOPH WICK | i4innovation GmbH, Bonn pisze:
Hi List,
has anyone running ERCaptcha with Java 1.8 successfully?
All I get is a black image when running Java 1.8 - in a project that works perfectly on my other machine with Java 1.7.
I found this on StackOverflow:
This JCaptcha library is really old, and going by the state of their code repository, it is an abandoned project. The problem with this library is that it uses very specific version of JH Labs Image filters for CAPTCHA image distortion, and this version does not support JDK 1.8, it only supports 1.6.
(s. http://stackoverflow.com/questions/22894510/jcaptcha4struts2-plugin-image-not-loading) This may be something completely different, but it’s the best hint I found so far.
Any hint appreciated.
C.U.CW
--
Konrad Kubacki
Starszy Programista - Lider Zespołu Programistów ifirma.pl
Power Media S.A.
ul. Grabiszyńska 241 B
53-234 Wrocław
tel.: +48 71 769 43 00.
faks: +48 71 321 00 16
http://www.power.com.pl
Sąd Rejonowy dla Wrocławia-Fabrycznej
VI Wydział Gospodarczy - Krajowego Rejestru Sądowego
KRS: 0000281947
NIP: PL-898-16-47-572
Kapitał 640 000 zł w pełni opłacony
Ochrona Danych Osobowych
http://www.power.com.pl/ochrona-danych-osobowych/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden