tesseract-ocr/langdata

Error when trying to make ScrollView.jar

topherseance opened this issue · 1 comments

Here's the result when running make ScrollView.jar, inside tesseract/java directory:

javac -encoding UTF8 -sourcepath . -classpath piccolo2d-core-3.0.jar:piccolo2d-extras-3.0.jar ./com/google/scrollview/ui/SVAbstractMenuItem.java ./com/google/scrollview/ui/SVCheckboxMenuItem.java ./com/google/scrollview/ui/SVEmptyMenuItem.java ./com/google/scrollview/events/SVEvent.java ./com/google/scrollview/events/SVEventHandler.java ./com/google/scrollview/events/SVEventType.java ./com/google/scrollview/ui/SVImageHandler.java ./com/google/scrollview/ui/SVMenuBar.java ./com/google/scrollview/ui/SVMenuItem.java ./com/google/scrollview/ui/SVPopupMenu.java ./com/google/scrollview/ui/SVSubMenuItem.java ./com/google/scrollview/ui/SVWindow.java ./com/google/scrollview/ScrollView.java -d .
./com/google/scrollview/ui/SVImageHandler.java:19: error: package javax.xml.bind is not visible
import javax.xml.bind.DatatypeConverter;
                ^
  (package javax.xml.bind is declared in module java.xml.bind, which is not in the module graph)
1 error
Makefile:689: recipe for target 'com/google/scrollview/ui/SVAbstractMenuItem.class' failed
make: *** [com/google/scrollview/ui/SVAbstractMenuItem.class] Error 1

Solution: use JDK8 (package openjdk-8-jdk on Ubuntu 18.04)