rilian-la-te/java-swing-ayatana

No Ubuntu 13.10 Support

GoogleCodeExporter opened this issue · 52 comments

I tried with Netbeans on Ubuntu 13.10 and it doesn't work. HUD also doesn't 
work.

I think, java-swing-ayatana needs updating to support Ubuntu 13.10 or Unity 
7.1.0

Original issue reported on code.google.com by ckr.ha...@gmail.com on 5 Oct 2013 at 8:02

This is confirmed does not work for me as well.

Original comment by BJSem...@gmail.com on 7 Oct 2013 at 6:59

[deleted comment]
also not work for me

Original comment by bahman...@gmail.com on 19 Oct 2013 at 6:08

I have the same problem. I used to Sql Developer until Ubuntu 13.04, but 13.10 
not work.

Original comment by cbel...@gmail.com on 20 Oct 2013 at 9:51

confirm

Original comment by pavel.finkelshtein on 22 Oct 2013 at 6:19

Are there any plans for add/update support? It was really a nice feature for 
all java applications, not only NetBeans (worked very well with Oracle 
SqlDeveloper too)

Original comment by pucci.an...@gmail.com on 22 Oct 2013 at 3:37

Also was a great addition to intelliJ IDEA and Eclipse...

Original comment by ufo...@gmail.com on 24 Oct 2013 at 4:36

I working to solve issue with Ubuntu 13.10, wait me

Original comment by danjaredg on 29 Oct 2013 at 1:33

Original comment by danjaredg on 29 Oct 2013 at 1:34

  • Changed state: Accepted
Thanks :)

Original comment by Lukas...@gmail.com on 7 Nov 2013 at 11:35

edit this file : netbeans-7.4/etc/netbeans.conf 
add UBUNTU_MENUPROXY="libappmenu.so" at start of file

Original comment by bahman...@gmail.com on 20 Nov 2013 at 3:08

Great, thanks!

Original comment by visser...@gmail.com on 20 Nov 2013 at 10:18

The branch 2.0 now support 13.10 without endorsed libraries

Original comment by danjaredg on 5 Dec 2013 at 5:30

how to install it(2.0) in netebeans?

Original comment by bahman...@gmail.com on 10 Dec 2013 at 8:55

Yeah, instructions would be helpful. I was looking at the source but I couldn't 
figure out how to create the .nbm and I don't have much experience with maven.

Original comment by BenWolsi...@gmail.com on 12 Dec 2013 at 2:13

Now the branch 2.0 doesn't need any module or plugin, it doesn't need endorsed 
libraries, it support any java swing application.

I'm preparing a ppa to install the new version

Original comment by danjaredg on 14 Dec 2013 at 1:39

Great! Is it mean that IntelliJ Idea will work too? 

Original comment by bade...@gmail.com on 14 Dec 2013 at 3:18

[deleted comment]
What is the ppa?Is it ready?

Original comment by Alexande...@gmail.com on 22 Dec 2013 at 7:08

Hello,is ppa ready?

Original comment by Alexande...@gmail.com on 26 Jan 2014 at 7:28

The ppa is ready. Version 2.0 was released, You can use ppa repository: 
ppa:danjaredg/jayatana

Original comment by danjaredg on 29 Jan 2014 at 2:20

  • Changed state: Fixed
Ubuntu 13.10 don't work with ppa or I fail during installation  somewhere ?

$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
$ sudo apt-add-repository ppa:danjaredg/jayatana
$ sudo apt-get install jayatana

... Start netbeans ...

Nothing happen, menu not integrated in menu bar.

Where did I failed .

Thanks

Original comment by ghislain...@gmail.com on 29 Jan 2014 at 10:32

The same thing is happening to me. I installed it and it did not change 
anything.

 Thanks

Original comment by BenWolsi...@gmail.com on 30 Jan 2014 at 1:00

[deleted comment]
The same. Installed and disabled UBUNTU_PROXYMENU option and it did not change 
anything relative to the previous version.

Original comment by Lukas...@gmail.com on 30 Jan 2014 at 1:41

you need restart your os session

Original comment by danjaredg on 30 Jan 2014 at 3:40

nothing has changed

Original comment by Lukas...@gmail.com on 30 Jan 2014 at 4:34

working with OpenJDK? I use OpenJDK7

Original comment by Lukas...@gmail.com on 30 Jan 2014 at 4:41

It works with OpenJDK 6 and 7, and Oracle JRE 6 and 7. You don't need to do any 
special configuration, the new versión of Jayatana use a java agent, you can 
check a JAVA_TOOL_OPTIONS=-agentlib:jayatanaag environment variable. this is 
the only configuration you need.

I did test with many ppa compilation defect over same repository, maybe you try 
reinstall:

sudo apt-get --reinstall install libjayatana libjayatanaag libjayatana-java

and restar your session


Original comment by danjaredg on 30 Jan 2014 at 7:33

  • Changed state: Accepted
And, the new jayatana version isn't compatible with version 1.x

Original comment by danjaredg on 30 Jan 2014 at 7:35

The new version needs the files:

/etc/profile.d/jayatana.sh
/usr/lib/libjayatanaag.so
/usr/lib/libjayatana.so
/usr/share/java/jayatana.jar

contents:

--------- /etc/profile.d/jayatana.sh -----------
JAVA_TOOL_OPTIONS=-agentlib:jayatanaag
export JAVA_TOOL_OPTIONS


Original comment by danjaredg on 30 Jan 2014 at 7:42

I did as you wrote and nothing has changed :(
Aptana Studio 3.4.2...

Original comment by Lukas...@gmail.com on 30 Jan 2014 at 8:11

I have clear Ubuntu 13.10 (update Ubuntu 13.04), not use unofficial repository.

Original comment by Lukas...@gmail.com on 30 Jan 2014 at 8:25

Need other informations?

Original comment by Lukas...@gmail.com on 30 Jan 2014 at 8:26

Maybe some remnants of the old version?

Original comment by Lukas...@gmail.com on 30 Jan 2014 at 8:34

So, sorry but Jayatana only support Java Swing for the moment, the Aptana use 
SWT based on Eclipse. SWT use native GTK invokations.

https://bugs.launchpad.net/ubuntu/+source/unity-gtk-module/+bug/1208019

Original comment by danjaredg on 31 Jan 2014 at 2:56

When I tried to launch a Swing application, it gave this output:

Jan 31, 2014 9:38:45 PM com.jarego.jayatana.swing.SwingGTKFixed deploy
WARNING: can't install gtk border fixed
java.lang.NullPointerException
    at javax.swing.plaf.synth.DefaultSynthStyleFactory.getMatchingStyles(DefaultSynthStyleFactory.java:144)
    at javax.swing.plaf.synth.DefaultSynthStyleFactory.getStyle(DefaultSynthStyleFactory.java:106)
    at javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:235)
    at com.jarego.jayatana.swing.SwingGTKFixed.installGtkThikcness(Unknown Source)
    at com.jarego.jayatana.swing.SwingGTKFixed.deploy(Unknown Source)
    at com.jarego.jayatana.FeatureWrapper.deployOnce(Unknown Source)
    at com.jarego.jayatana.FeatureManager.deployOnce(Unknown Source)
    at com.jarego.jayatana.FeatureManager.deployForSwing(Unknown Source)

Original comment by BenWolsi...@gmail.com on 1 Feb 2014 at 2:40

Which Java Version are you use?

Original comment by danjaredg on 1 Feb 2014 at 5:00

BenWolsieffer, and which theme are you use?

Original comment by danjaredg on 1 Feb 2014 at 5:05

I'm using java 7u51 and the app is set to use the native look and feel.

Original comment by BenWolsi...@gmail.com on 1 Feb 2014 at 5:17

Maybe the error is already fixed.
http://code.google.com/p/java-swing-ayatana/source/diff?spec=svn221&r=221&format
=side&path=/branches/2.0/jayatana/src/main/java/com/jarego/jayatana/swing/SwingG
TKFixed.java

Original comment by danjaredg on 1 Feb 2014 at 5:29

Is that revision already in the PPA, because I don't see any updates and the 
error still happens.

Original comment by BenWolsi...@gmail.com on 2 Feb 2014 at 1:40

It works for me, Thanks

But if I uninstall it I have to manually remove the 
_/etc/profile.d/jayatana.sh_ file
(Maybe I should create a new ticket ?)

Original comment by ghislain...@gmail.com on 3 Feb 2014 at 10:02

Isn't necessary, the jayatana package is a metapackage if you want to uninstall 
you need run:

sudo apt-get --purge remove jayatana libjayatana libjayatanaag libjayatana-java

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

Thanks you !

Original comment by ghislain...@gmail.com on 3 Feb 2014 at 6:10

The version 2.1 is ready on ppa, with fixes on Netbeans (menus with labels) and 
IntelliJ IDEA (empty menus) platform, and GTK Border Menu (Error on install)

Original comment by danjaredg on 3 Feb 2014 at 7:20

Now I'm getting this error:

Feb 03, 2014 8:23:55 PM com.jarego.jayatana.swing.SwingGTKFixed deploy
WARNING: can't install gtk border fixed
java.lang.NoSuchFieldException: yThickness
    at java.lang.Class.getDeclaredField(Class.java:1948)
    at com.jarego.jayatana.swing.SwingGTKFixed.changeGtkYThikcness(Unknown Source)
    at com.jarego.jayatana.swing.SwingGTKFixed.installGtkThikcness(Unknown Source)
    at com.jarego.jayatana.swing.SwingGTKFixed.deploy(Unknown Source)
    at com.jarego.jayatana.FeatureWrapper.deployOnce(Unknown Source)
    at com.jarego.jayatana.FeatureManager.deployOnce(Unknown Source)
    at com.jarego.jayatana.FeatureManager.deployForSwing(Unknown Source)

Original comment by BenWolsi...@gmail.com on 4 Feb 2014 at 1:25

Please send me:

Java Vendor - (Oracle or OpenJDK)
Java Version
Linux arquitect - (uname -a)
Linux GTK2 theme

Original comment by danjaredg on 4 Feb 2014 at 1:27

I'm using Oracle java. Here is the "java -version" output:
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

Output of "uname -a":
Linux HP-g7 3.11.0-15-generic #25-Ubuntu SMP Thu Jan 30 17:22:01 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux

I'm using the "Ambiance" theme.

Original comment by BenWolsi...@gmail.com on 4 Feb 2014 at 1:53

I create a new issue (22) about of "gtk border fixed" 
(http://code.google.com/p/java-swing-ayatana/issues/detail?id=22)

I'm trying to reproduce the error, but all works ok, What application are you 
run?, please answer me on issue 22

Original comment by danjaredg on 4 Feb 2014 at 4:23

danjaredg, Your project is another reason why we change the Netbeans :)
Aptana slow, bugged, but pretty :D

Original comment by Lukas...@gmail.com on 6 Feb 2014 at 2:02

The bug to support Ubuntu 13.10 is now compleated, please, if exists any 
problem, please, report as a new bug

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

  • Changed state: Done