<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Discussion</title><link>https://sourceforge.net/p/tess4j/discussion/</link><description>Recent posts to Discussion</description><atom:link href="https://sourceforge.net/p/tess4j/discussion/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 06 Feb 2025 04:56:54 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/tess4j/discussion/feed.rss" rel="self" type="application/rss+xml"/><item><title>MethodTooLargeException  when loading native library</title><link>https://sourceforge.net/p/tess4j/discussion/1202293/thread/d0576c42ca/?limit=25#43cb</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Yes, it can be.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/java-native-access/jna/blob/master/www/DirectMapping.md" rel="nofollow"&gt;https://github.com/java-native-access/jna/blob/master/www/DirectMapping.md&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Quan Nguyen</dc:creator><pubDate>Thu, 06 Feb 2025 04:56:54 -0000</pubDate><guid>https://sourceforge.netaac074751ef7b5ae3df37da18aed460cb3bf715e</guid></item><item><title>MethodTooLargeException  when loading native library</title><link>https://sourceforge.net/p/tess4j/discussion/1202293/thread/d0576c42ca/?limit=25#3024</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;thanks, I will try it out.  Is direct mapping more efficient than using the interface ?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">George</dc:creator><pubDate>Wed, 05 Feb 2025 18:05:58 -0000</pubDate><guid>https://sourceforge.net2fc78e7acdec497602d278bffe82160cc98b21e3</guid></item><item><title>Running Tess4j on Linux</title><link>https://sourceforge.net/p/tess4j/discussion/1202293/thread/62eabd2eae/?limit=25#b717</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Leptonica library has many dependencies to open various image file types, such as TIFF, PNG, JPEG, etc., which in turn have other dependencies, as you've seen.&lt;/p&gt;
&lt;p&gt;On Windows, we were able to embed all the image library dependencies inside &lt;code&gt;libleptonica.dll&lt;/code&gt;.  We don't know how to generate a similar static library &lt;code&gt;liblept.so&lt;/code&gt; on Linux. Installing Tesseract would ensure installing of all the required dependency libraries.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Quan Nguyen</dc:creator><pubDate>Wed, 05 Feb 2025 05:40:25 -0000</pubDate><guid>https://sourceforge.net72c6e6b0d09ef3e12f76ba7773545fb5e83a2cf3</guid></item><item><title>MethodTooLargeException  when loading native library</title><link>https://sourceforge.net/p/tess4j/discussion/1202293/thread/d0576c42ca/?limit=25#561c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Please use the JNA Direct Mapping API — &lt;code&gt;Leptonica1&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://tess4j.sourceforge.net/docs/index.html" rel="nofollow"&gt;https://tess4j.sourceforge.net/docs/index.html&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Quan Nguyen</dc:creator><pubDate>Wed, 05 Feb 2025 05:26:42 -0000</pubDate><guid>https://sourceforge.net65567470a03177de497c8dcb97bd2327f86ae7fc</guid></item><item><title>MethodTooLargeException  when loading native library</title><link>https://sourceforge.net/p/tess4j/discussion/1202293/thread/d0576c42ca/?limit=25#f0e2</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I encountered ** jdk.internal.org.objectweb.asm.MethodTooLargeException**  when I tried to load tess4j 5.0.0 and lept4j 1.16.1  using OpenJDK Runtime Environment Corretto-21.0.6.7.1 (build 21.0.6+7-LTS)&lt;/p&gt;
&lt;p&gt;I assume this is caused by ASM library used by JDK  during invocation of Native.loadLibrary() , and  appears to be similar to the issue reported here &lt;a href="https://bugs.openjdk.org/browse/JDK-8314528" rel="nofollow"&gt;https://bugs.openjdk.org/browse/JDK-8314528&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Is there any work around to load tess4j 5.0.0 and lept4j 1.16.1 on JDK 21 ?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">George</dc:creator><pubDate>Fri, 31 Jan 2025 15:40:53 -0000</pubDate><guid>https://sourceforge.netb766ee1e5bb87009117768c64f3a15e8dfbffcff</guid></item><item><title>Running Tess4j on Linux</title><link>https://sourceforge.net/p/tess4j/discussion/1202293/thread/62eabd2eae/?limit=25#cc3b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I was able to run the tess4j in a windows machine without actually installing the software. It is picking up the required dll's from the jars or path.&lt;/p&gt;
&lt;p&gt;I am not able to do the same on linux. I tried copying the .so files one by one until I hit blocker.&lt;/p&gt;
&lt;p&gt;java,lang.UnsatisfiedLinkError: /lib64/libm.so.6: version 'GLIBC_2.29' not found (required by libpng15.so.15)&lt;/p&gt;
&lt;p&gt;My goal is to be able to run the tesst4j with expliciltly installing tesseract but by simply packaging the so files.&lt;/p&gt;
&lt;p&gt;Can someone please guide me if that is possible and of so how?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Srinivas Arava</dc:creator><pubDate>Tue, 05 Nov 2024 16:16:00 -0000</pubDate><guid>https://sourceforge.net77bc297d05c284aa5d1b144703773c3ffc2de7f5</guid></item><item><title>Source Code</title><link>https://sourceforge.net/p/tess4j/discussion/1202293/thread/edd3c5b551/?limit=25#4c3f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is Tess4J an open-source project?  Where is the source code please?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jian Wang</dc:creator><pubDate>Sat, 20 Jul 2024 15:34:22 -0000</pubDate><guid>https://sourceforge.net490e0fb6226f2c8b722e93cf8dd6020e3194706a</guid></item><item><title>Mac OS DLL -aka- dynlib is missing</title><link>https://sourceforge.net/p/tess4j/discussion/1202293/thread/fac985f12d/?limit=25#8448</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;For Tesseract non-Windows binary, you'll have to install or compile it yourself.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://tesseract-ocr.github.io/tessdoc/#compiling-and-installation" rel="nofollow"&gt;https://tesseract-ocr.github.io/tessdoc/#compiling-and-installation&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Quan Nguyen</dc:creator><pubDate>Mon, 26 Jun 2023 22:48:20 -0000</pubDate><guid>https://sourceforge.net7b52264b351ca0f12cfff0bd3d69920d0f7be279</guid></item><item><title>Mac OS DLL -aka- dynlib is missing</title><link>https://sourceforge.net/p/tess4j/discussion/1202293/thread/fac985f12d/?limit=25#c171</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
for Macs the binay of the lib is missing: darwin/libtesseract.dylib&lt;br/&gt;
Best regards&lt;br/&gt;
Angelo&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Angelo Schneider</dc:creator><pubDate>Mon, 26 Jun 2023 17:55:27 -0000</pubDate><guid>https://sourceforge.net1c1165666a3f2e1ff75ad455dc09aed62d4d2b9b</guid></item><item><title>Error looking up function 'pixaConvertTo8Color': when using lept4j</title><link>https://sourceforge.net/p/tess4j/discussion/1202293/thread/de821a4a/?limit=25#80df/9bb1/6636</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;@Praveen Anand Please use the Lept4J version compatible with your Leptonica installation.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Quan Nguyen</dc:creator><pubDate>Sun, 05 Mar 2023 20:55:14 -0000</pubDate><guid>https://sourceforge.net1d1e1d933bc46232f7319be19dd0b5d688f9e872</guid></item></channel></rss>