Page 1 of 1

SOLVED: Problems with Netbeans main menu and/or Java

Posted: Sat Jan 28, 2012 7:39 pm
by mayid
Today i downloaded the JVM. Sadly i tried to installed it from the downloads folder and i didn't want that. So, after that i moved the installation file to a new /usr/java folder and installed it again (previously i just deleted the first installation folder).

Now, i think that this way i caused troubles to Netbeans. It's hard to say, because i'm running a new Mint 12 installation (64bits). Weird behavior in netbeans starts from the main menu items. When i click'em they won't open. I mean, they shot down inmediately at least i keep the mouse pressed. Then, if i move the mouse over the items i just can't be sure wich item i'm selecting, because the mouse point one but the highlight color enlights other.

What should i do? Can i uninstall my first try? How?

Ps: according to Java docs, it's ok to just delete the installation folder: http://www.java.com/en/download/help/li ... nstall.xml
What's the problem then? :?

Re: Problems with Netbeans and/or Java

Posted: Sun Jan 29, 2012 6:39 am
by xenopeek
Any reason why you are not installing this through the repositories? Software Manager or Synaptic Package Manager, search for sun-java6-jre, and install.

Re: Problems with Netbeans and/or Java

Posted: Sun Jan 29, 2012 9:29 am
by grizzler
The sun-java6 packages offered by repositories are hopelessly outdated (6.26 or older) and unsafe, so that is not a viable option. Always try OpenJDK first (search for openjdk-6-jre in Synaptic) and if that doesn't work, look here http://sites.google.com/site/easylinuxtipsproject/java or here http://www.duinsoft.nl/packages.php?t=en for an alternative.

Also, this: http://forums.linuxmint.com/viewtopic.php?f=42&t=93052

Re: Problems with Netbeans and/or Java

Posted: Sun Jan 29, 2012 11:11 am
by mayid
Thanks. Updating from the duinsoft repositories (http://www.duinsoft.nl/packages.php?t=en) was my preferred option. I had to uninstall and then reinstall netbeans anyway. But i find the same problem still. However i can point that the problem only exists when the window is maximized. By other hand, there's no issues with other Java based soft here, so the problem must be other. Notice that also the secondary windows in Netbeans works well. The only misbehavior is the main menu when windows is maximized, as far as i can tell now.

Edited: I found other people with same problem (in year 2009): http://forums.netbeans.org/post-55143.html
My Netbeans says this in the "About" menu item:
Product Version: NetBeans IDE 7.1 (Build 201201101530)
Java: 1.6.0_30; Java HotSpot(TM) 64-Bit Server VM 20.5-b03
System: versión Linux 3.0.0-12-generic ejecutándose en amd64; UTF-8; es_AR (nb)
Edited: here's some more (year 2011). They talk about GNOME 3, and the comment #8 points the maximized window fact: https://bbs.archlinux.org/viewtopic.php?id=118737 : Maybe this is related to Cinnamon desktop or themes?

SOLVED: the last mentioned thread provides a funny solutions. Moving the window to left/top corner previous to maximize window solves the issue! :) After that, each time i open Netbeans it's just fine.

Re: SOLVED: Problems with Netbeans main menu and/or Java

Posted: Sat Jul 21, 2012 11:05 am
by ishanmahajan
Thank you.
Funny solution indeed but it works!

Re: SOLVED: Problems with Netbeans main menu and/or Java

Posted: Tue Jul 31, 2012 12:32 pm
by LordFoobar
It may solve your problem, but not mine. Although the ALT+SHIFT+ENTER (x2) to enter and leave full screen does work.

However, I have noticed that the main menu (JMenuBar) does not use the system UI, and the drop-down menus have no border, which leads me to think that the menu component of Netbeans is not working as it should. Any idea how to solve this?

Re: SOLVED: Problems with Netbeans main menu and/or Java

Posted: Tue Aug 07, 2012 8:53 am
by knightmaremx
Thanks!!! moving the window to the upper left corner before maximizing solved my issue, I was going crazy.

Re: SOLVED: Problems with Netbeans main menu and/or Java

Posted: Tue Dec 11, 2012 1:33 pm
by mintish
year 2012 december i had same problem but am using ubun2 with mate i solved th problem by clicking syncronize views option in the view menu in netbeans tought would post in case it helped someone