首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >java.library.path错误

java.library.path错误
EN

Stack Overflow用户
提问于 2012-05-08 19:32:51
回答 1查看 546关注 0票数 0

请帮助我:我在使用j4lOCR时遇到错误:

代码语言:javascript
复制
 `A fatal error has been detected by the Java Runtime Environment:

  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1006dc21, pid=3488, tid=2576

 JRE version: 7.0_02-b13
 Java VM: Java HotSpot(TM) Client VM (22.0-b10 mixed mode, sharing windows-x86 )
 Problematic frame:
 C  [tess3Wrapper.dll+0x6dc21]

 Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

 An error report file with more information is saved as:
 C:\Azaz-2012\OCR\hs_err_pid3488.log

 If you would like to submit a bug report, please visit:
   http://bugreport.sun.com/bugreport/crash.jsp
 The crash happened outside the Java Virtual Machine in native code.
 See problematic frame for where to report the bug.
'
actual_tessdata_num_entries_ <= TESSDATA_NUM_ENTRIES:Error:Assert failed:in file .\tessdatamanager.cpp, line 55
Java Result: 1
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-05-08 19:48:38

该错误的发生是因为C++代码抛出了一个异常。Java不能“包装”它们。

引发异常是因为违反了以下断言:

代码语言:javascript
复制
actual_tessdata_num_entries_ <= TESSDATA_NUM_ENTRIES

常量是在tessdatamanager.h中定义的。它与您需要的数据文件相关。确保您使用的数据文件与您的tesseract版本匹配。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/10497781

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档