pmfai25 / java-swing-ayatana

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

No Ubuntu 13.10 Support #19

Closed GoogleCodeExporter closed 9 years ago

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

GoogleCodeExporter commented 9 years ago
This is confirmed does not work for me as well.

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

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
also not work for me

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

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

GoogleCodeExporter commented 9 years ago
confirm

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

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

GoogleCodeExporter commented 9 years ago
Also was a great addition to intelliJ IDEA and Eclipse...

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

GoogleCodeExporter commented 9 years ago
I working to solve issue with Ubuntu 13.10, wait me

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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
Thanks :)

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

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

GoogleCodeExporter commented 9 years ago
Great, thanks!

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

GoogleCodeExporter commented 9 years ago
The branch 2.0 now support 13.10 without endorsed libraries

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

GoogleCodeExporter commented 9 years ago
how to install it(2.0) in netebeans?

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

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

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

GoogleCodeExporter commented 9 years ago
Great! Is it mean that IntelliJ Idea will work too? 

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

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
What is the ppa?Is it ready?

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

GoogleCodeExporter commented 9 years ago
Hello,is ppa ready?

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

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

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

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

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
you need restart your os session

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

GoogleCodeExporter commented 9 years ago
nothing has changed

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

GoogleCodeExporter commented 9 years ago
working with OpenJDK? I use OpenJDK7

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

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

GoogleCodeExporter commented 9 years ago
And, the new jayatana version isn't compatible with version 1.x

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

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

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

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

GoogleCodeExporter commented 9 years ago
Need other informations?

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

GoogleCodeExporter commented 9 years ago
Maybe some remnants of the old version?

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

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

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

GoogleCodeExporter commented 9 years ago
Which Java Version are you use?

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

GoogleCodeExporter commented 9 years ago
BenWolsieffer, and which theme are you use?

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

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

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

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

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

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

GoogleCodeExporter commented 9 years ago
Thanks you !

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

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

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

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

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

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