rilian-la-te/java-swing-ayatana

Crash 32bit games on 64bit computer

Closed this issue · 9 comments

What steps will reproduce the problem?
1. Install Jayatana and restart (All works fine in netbeans)
2. Install steam and a game how run it's own jre in 32bit version (E.g.: 
Titan_attacks)
3. The game don't start

Game log: 

---
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' 
from LD_PRELOAD cannot be preloaded: ignored.
Picked up JAVA_TOOL_OPTIONS: -agentlib:jayatanaag
Picked up _JAVA_OPTIONS: 
Error occurred during initialization of VM
Could not find agent library jayatanaag on the library path, with error: 
libjayatanaag.so: wrong ELF class: ELFCLASS64

---

I know this is not your fault, I was just wondering a way to exclude some jar 
or some path from jayatana agent library


What version of the product are you using? On what operating system?
Ubuntu 13.10 64bit

Original issue reported on code.google.com by ghislain...@gmail.com on 4 Feb 2014 at 9:46

As a workarround you can run:

unset JAVA_TOOL_OPTIONS

Original comment by danjaredg on 5 Feb 2014 at 3:50

Let me check

Original comment by danjaredg on 5 Feb 2014 at 3:51

  • Changed state: Accepted
I need to do many changes and some time, I'm trying with a agent based in Java 
to evaluate architecture in runtime.

Original comment by danjaredg on 6 Feb 2014 at 4:32

  • Added labels: Priority-Critical
  • Removed labels: Priority-Medium

Original comment by danjaredg on 7 Feb 2014 at 5:51

  • Changed state: Started
The Java Agent to evaluate arquitecture in runtime was committed

http://code.google.com/p/java-swing-ayatana/source/detail?r=227

Original comment by danjaredg on 10 Feb 2014 at 3:53

Added to ppa ? or have to compile/install it manually to test ?

Original comment by ghislain...@gmail.com on 10 Feb 2014 at 8:22

You can test new version 2.2 with this ppa:

ppa:danjaredg/jayatana-test

please, check if the file "/etc/profile.d/jayatana.sh" was deleted after 
update, the version 2.2 fix the compatibility with java 32bits and it changes 
the method to export environment variable. Now it's using upstart/session 
script, now the environment variable is exported if dbus daemon is started.

Original comment by danjaredg on 12 Feb 2014 at 2:09

Works great !
thanks.

Original comment by ghislain...@gmail.com on 12 Feb 2014 at 8:56

The issue is fixed

Original comment by danjaredg on 14 Feb 2014 at 12:52

  • Changed state: Fixed