Re: [orca-list] What happened to Java access bridge for Gnome?



Rastislav Kiss via orca-list, le ven. 05 juin 2020 20:33:01 +0200, a ecrit:
thanks, I've found the package installed, and have been playing with it
for a while.
However, for some reason, I can't get it working. I've uncommented the
line regarding accessibility_technologies in
$JAVA_HOME/conf/accessibility.properties,

Mmmm, I don't know where it'd be on your distro, on Debian it'd be
/etc/java-<version>-openjdk/accessibility.properties

there are no errors when launching a java app from command line, but
the application I'm launching is inaccessible.

Is this normal state, or am I missing some steps to activate jaw?

The properties should be the only needed thing.


I'm however realizing that Oracle still hasn't fixed the loading of jaw,
despite my bug report. In debian we have the following patch:

--- a/src/hotspot/os/linux/os_linux.cpp
+++ b/src/hotspot/os/linux/os_linux.cpp
@@ -451,6 +451,7 @@ void os::init_system_properties_values()
     }
     Arguments::set_java_home(buf);
     set_boot_path('/', ':');
+    Arguments::append_sysclasspath("/usr/share/java/java-atk-wrapper.jar");
   }

   // Where to look for native libraries.

Details are in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900912

To avoid rebuilding openjdk, you can use 

export CLASSPATH=/usr/share/java/java-atk-wrapper.jar

Samuel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]