Open GoogleCodeExporter opened 8 years ago
Fixed by using Java 1.6.x any newer version breaks the libnotify messages.
Original comment by d.rammel...@gmail.com
on 28 Aug 2014 at 4:07
Hi, I also have this issue. So, what you're saying is that the only way to
"fix" it is downgrading Java/installing an older version of Java? I installed
jre6-compat (on archlinux https://aur.archlinux.org/packages/jre6-compat/) and
modified /usr/share/android-notifier-desktop/run.sh so that it's launching the
jar with /opt/java6/jre/bin/java.
Thanks, now it's working, but I would have liked to have a patch to make it
compatible with java 7 or java 8. Java 6 is not supported by Oracle anymore.
Original comment by pierre.d...@gmail.com
on 28 Sep 2014 at 1:42
Mind putting the modified run.sh up on Git as an unofficial patch?
Original comment by Jfarring...@gmail.com
on 28 Sep 2014 at 9:27
I made the neccessary change in the class LibnotifyNotificationBroadcaster,
then recompiled only this one, added to the jar and it works beautifully!
Compiled and tested on ubuntu 14.04.
I've attached the jar. I've only changed that single class file in the jar that
was included in the .deb installer.
Feel free to use it. But please note: this is an *executable downloaded form
the internet*. Do every step you can and feel neccessary to verify it doesn't
do any harm to your system. I recommend virustotal.
Original comment by m...@maerlyn.eu
on 18 Oct 2014 at 5:54
Attachments:
maerlyn.eu, do you mind posting the modified source to
LibnotifyNotificationBroadcaster? It appears the jar you posted was compiled in
1.8, so I'll need to recompile targeting 1.7 in order to get it working on my
system. Java is something I'm not familiar with, so I'd definitely appreciate
if you could post the changes you made in cleartext. Thanks!
Original comment by brb...@gmail.com
on 14 Jan 2015 at 8:41
Just in case anyone else finds themselves in a similar situation and needs to
compile it themselves, I've attached the working source to
LibnotifyNotificationBroadcaster.class. Also attached is a version of the jar
that will work with Java 1.7.0.
Original comment by brb...@gmail.com
on 14 Jan 2015 at 9:40
Attachments:
Here is the deb repacked with the modified LibnotifyNotificationBroadcaster
that will work with Java 7. I removed the dependency to 'sun-java6-jre |
sun-java6-jdk | openjdk-6-jre | openjdk-6-jdk' assuming you can figure out what
version of Java you want to run on your own.
Original comment by brb...@gmail.com
on 19 Jan 2015 at 6:59
Attachments:
Original issue reported on code.google.com by
Jfarring...@gmail.com
on 23 Jul 2014 at 12:37