12.09.2015, 21:23, "Jan Henke" <jan.he...@taujhe.de>:
> Am 12.09.2015 um 20:40 schrieb Martin Hanson:
>>  Package: openjdk-8-jre-headless
>>  Version: 8u66-b01-3
>>
>>  Having just upgraded with an apt-get dist-upgrade on "testing" the 
>> following error occurs running Minecraft with java:
>>
>>  LOADEDenfalse
>>  SAVED: enfalse
>>  LOADEDenfalse
>>  SAVED: enfalse
>>  LOADED LANGUAGES
>>  Exception in thread "main" java.awt.AWTError: Assistive Technology not 
>> found: org.GNOME.Accessibility.AtkWrapper
>>          at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807)
>>          at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886)
>>          at java.awt.Window.getToolkit(Window.java:1362)
>>          at java.awt.Window.init(Window.java:506)
>>          at java.awt.Window.<init>(Window.java:537)
>>          at java.awt.Frame.<init>(Frame.java:420)
>>          at java.awt.Frame.<init>(Frame.java:385)
>>          at javax.swing.JFrame.<init>(JFrame.java:189)
>>          at net.mc.main.Main.startMC(Main.java:173)
>>          at net.mc.main.Main.main(Main.java:212)
>>
>>  If I remove the package from testing and manually install the version from 
>> jessie-backports (8u66-b01-1~bpo8+1), the problem is gone.
>>
>>  I am running with testing on 4.1.0-2-amd64 #1 SMP Debian 4.1.6-1 
>> (2015-08-23) x86_64 GNU/Linux.
>>
>>  Kind regards.
>
> Hi Martin,
>
> this is not a bug. If you want to run any Java application with a GUI,
> you need the non-headless openjdk package (i.e. openjdk-8-jre). The
> headless package is intended for "headless" machines like servers.
> Headless means here system usually running without local monitor,
> keyboard, mouse, graphical user interface etc.
>
> So the -headless package, by design, does not include the parts
> necessary for running applications like Minecraft.
>
> I hope that explanation helps.
>
> Best Regards,
> Jan Henke

I thought as much, but none the less, I can run Minecraft on the desktop with 
only the headless package installed:

$ dpkg -l | grep openjdk
ii  openjdk-8-jre-headless:amd64          8u66-b01-1~bpo8+1                   
amd64        OpenJDK Java runtime, using Hotspot JIT (headless)

This package is from Jessie backports and everything works. If I install the 
package from Testing then it doesn't work. I also tried installing both 
headless and the normal jre package, but the problem persist, until I remove 
both packages, install the Jessie backport and put it on hold.

Sometimes it doesn't give the above error, but this one instead, then Java 
freezes:

LOADEDenfalse
SAVED: enfalse
LOADEDenfalse
SAVED: enfalse
LOADED LANGUAGES
ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 
16 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [thread]
ERROR StatusLogger Unrecognized conversion specifier [thread] starting at 
position 25 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [level]
ERROR StatusLogger Unrecognized conversion specifier [level] starting at 
position 35 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [logger]
ERROR StatusLogger Unrecognized conversion specifier [logger] starting at 
position 47 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [msg]
ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 
54 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [n]
ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 
56 in conversion pattern.
ERROR StatusLogger No log4j2 configuration file found. Using default 
configuration: logging only errors to the console.
ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 
16 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [thread]
ERROR StatusLogger Unrecognized conversion specifier [thread] starting at 
position 25 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [level]
ERROR StatusLogger Unrecognized conversion specifier [level] starting at 
position 35 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [logger]
ERROR StatusLogger Unrecognized conversion specifier [logger] starting at 
position 47 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [msg]
ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 
54 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [n]
ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 
56 in conversion pattern.
LOADEDenfalse
SAVED: enfalse
LOADEDenfalse
SAVED: enfalse

This problem is also gone with the package from Jessie backports.

Kindest regards.

Reply via email to