issues starting openrefine 2.8 on mint 19 (java-11-openjdk)

59 views
Skip to first unread message

Gorav Seth

unread,
Aug 24, 2018, 4:28:42 PM8/24/18
to OpenRefine
upgraded to mint19 last week, which apparenly comes w java 11, and could not get openrefine 2.8 to start up.

when running ./refine from terminal, i get the 'you need java' error, though as far as i can tell i have openjdk 11 on my system

i updated my settings using the info on this stackoverflow post https://stackoverflow.com/a/24641640/3596313 as echo $JAVA_HOME was displaying nothing, and now i believe its working properly...

$ echo $JAVA_HOME
/usr/lib/jvm/java-11-openjdk-amd64

$ which java
/usr/lib/jvm/java-11-openjdk-amd64/bin/java


still, 2.8 would not load.  same 'you need java' error.

so i downloaded 3.0 rc1

the script starts running, and then displays  an exception re: assistive technology and stops (and browser doesnt open automatically),  but if i manually point at 127.0.0.1:3333, refine starts up fine.

the exception i get in this case is:

Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
at java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:472)
at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:488)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1608)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
at java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:532)
at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:613)
at java.desktop/java.awt.Window.getToolkit(Window.java:1375)
at java.desktop/java.awt.Window.init(Window.java:518)
at java.desktop/java.awt.Window.<init>(Window.java:549)
at java.desktop/java.awt.Frame.<init>(Frame.java:423)
at java.desktop/java.awt.Frame.<init>(Frame.java:388)
at java.desktop/javax.swing.JFrame.<init>(JFrame.java:180)
at com.google.refine.RefineClient.<init>(Refine.java:461)
at com.google.refine.Refine.init(Refine.java:122)
at com.google.refine.Refine.main(Refine.java:108)
Caused by: java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:374)
at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:485)
... 20 more

so....any thoughts? 

- should refine 2.8 work w open jdk 11?  or should i install an older version of java?
- whats up w/ 3.0?

thanks!

Thad Guidry

unread,
Aug 24, 2018, 5:45:08 PM8/24/18
to openr...@googlegroups.com
This is something new with Java 11 that has recently caused some issues.

For the workaround, please see our Issue # 1714  https://github.com/OpenRefine/OpenRefine/issues/1714


--
You received this message because you are subscribed to the Google Groups "OpenRefine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrefine+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Gorav Seth

unread,
Aug 24, 2018, 7:53:27 PM8/24/18
to openr...@googlegroups.com
Thanks Thad

Workaround works perfectly well for 3.0.
I assume that 2.8 is not compatible with java 11?  

Gorav

You received this message because you are subscribed to a topic in the Google Groups "OpenRefine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openrefine/nTAkOE9A_xc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openrefine+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--

Thad Guidry

unread,
Aug 25, 2018, 12:06:11 AM8/25/18
to openr...@googlegroups.com
Correct.

Reply all
Reply to author
Forward
0 new messages