Public bug reported:

Ubuntu GNOME 16.04.
jing 20131210+dfsg+1-4 (xenial)
java-wrappers 0.1.28 (xenial)

Using jing gives:
[warning] /usr/bin/jing: No java runtime was found
[warning] /usr/bin/jing: Unable to locate avalon-framework in /usr/share/java
[warning] /usr/bin/jing: Unable to locate batik-all in /usr/share/java
I did install some more Java stuff and could get rid of avalon and batik 
warnings (meaning a dependencies problem in the jing package), but still "No 
java runtime".

Warning "No java runtime was found" seems to come from java-wrappers.sh in case 
of problems to find JAVA_HOME.
As a workaround, I did add
JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/jre"
JAVA_CMD="$JAVA_HOME/bin/java"
on lines 2 and 3 of the jing script and commented out find_java_runtime — and 
jing does not protest any more !
It even works: detects faulty TEI XML (against RelaxNG) and let it pass after 
correction.

I am not a professional, and know almost nothing about Java. The above
was mainly guesswork. Hope this helps.

** Affects: jing-trang (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1574882

Title:
  Jing dependencies (java runtime, batik, avalon-framework)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jing-trang/+bug/1574882/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to