moodpo / java-swing-ayatana

Automatically exported from code.google.com/p/java-swing-ayatana
0 stars 0 forks source link

Crash 32bit games on 64bit computer #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
As a workarround you can run:

unset JAVA_TOOL_OPTIONS

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

GoogleCodeExporter commented 9 years ago
Let me check

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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Works great !
thanks.

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

GoogleCodeExporter commented 9 years ago
The issue is fixed

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