RedHawk IDE main menu bar - redhawksdr

I am running RedHawk 1.10.2 on Ubuntu14.04. I built RedHawk from sources following the instructions in Appendix F of the manual. But when I start the the ide the window is missing the top menu bar "File Edit Source Refactor Navigate ..." When I run 1.10.0 on CentOS it is there. Has 1.10.2 changed something or did my build miss something? I am not familiar with customizing Eclipse, so I have no idea where these menus are configured into Eclipse (or any of the other menus that ARE appearing fine).
Has anyone seen this? Can you point me to what might have gone wrong or where in the source this was setup?

Its an issue with Eclipse and newer versions of Ubuntu.
See this related Stackoverflow post:
Eclipse menus don't show up after upgrading to Ubuntu 13.10
I found it easiest if you put the following in your bashrc
export UBUNTU_MENUPROXY=0

Related

Toolbar not showing in Eclipse Neon in Ubuntu 17.04

I am using Eclipse Neon IDE (for Java EE developers) in Ubuntu 17.04.
I tried other versions of eclipse also, but I am not able to see tool bar in the eclipse.
Please help me on this.
Thanks in advance
This seems to be Eclipse bug 516408. Maybe it is already fixed in Eclipse Oxygen. If not, please add a comment in the Eclipse bug and try following workaround:
Workaround: Use Ubuntu 16.04 (gtk-3.18.9), or set SWT_GTK3=0

Can't find Git or Cordova on your path (Windows/Netbeans), Can't find GitHub under AppData/Local, FIX 2015

Error: NetBeans cannot find git or cordova on your path.
When trying to create a new Cordova Application in Netbeans.
How to fix? > THE ANSWER CAN BE FOUND BELOW :)
If anyone wants to know how to get Cordova working in Netbeans anno 2015/2016 here is the fix:
I have installed:
Git version: 2.5.1 for Windows 64 bit
Cordova version: 4.3.1 for Windows 64 bit
Node.js version: 0.12.0 for Windows 64 bit
Netbeans version: 8.0.2 x86
In Netbeans when I start a new project and select HTML5>Cordova Application then I will get this error:NetBeans cannot find git or cordova on your path.
After some searching on the good old internet, I found some pieces of information hither and thither which was correct but which didn't solve my problem. The reason for this was that it was old or slightly different than my problem. So I did the following to fix this problem:
I checked where my Cordova/npm files where and I happily found them in: C:\Users\\AppData\Roaming\npm
Next I had to find my Git.exe which FOR ME is located in: C:\Program Files\Git\bin (FOR SOME PEOPLE IT CAN BE FOUND IN: C:\Users\\AppData\Local\GitHub\PortableGit_)
Now I found out that Netbeans is using the windows PATH VARIABLES to locate git and cordova. For those who don't where to find or set the system Path Variables this website will help you find or set it: https://java.com/en/download/help/path.xml
I use windows 7 so I did this to change my path variables:"
-Select Computer from the Start menu
-Choose System Properties from the context menu
-Click Advanced system settings > Advanced tab
-Click on Environment Variables, under System Variables, find PATH, and click on it.
-In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value.
SO edit path and then you see like C:/apath;C:/asdas; < enter here your git path;<enter here your cordova path and save it by clicking the OK button.
Restart Netbeans and now it has to work.
:)
For those getting here and the solution from #bboni did not work - as it did for me:
Make sure everything is installed correctly by opening a command prompt (open start-menu and type cmd).
Type the following commands git --version, cordova -v and node -v.
For me it looked like this:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Users\JohnDoe>git --version
git version 2.8.4.windows.1
C:\Users\JohnDoe>cordova -v
6.2.0
C:\Users\JohnDoe>node -v
v4.4.5
That makes sure everything is installed correctly. If one or more commands result in an error, then it's either not installed or not added to PATH as described by #bboni.
Now open your Netbeans and go to Tools → Options → HTML/JS → Mobile Platforms and check if you can see somethink like Installed Cordova version: 6.2.0. This is to make sure Netbeans is basically able to detect Cordova.
At that point all the tutorials I found online ended. I came up with the idea to check if Netbeans' own Terminal would be able to execute the command above as well: Tools → Open in Terminal
I got an error telling me I'd need Cygwin to use the Terminal. So I installed it, restarted Netbeans, opened the Terminal, checked the commands above and they worked.
I checked Configure Cordova again - the error was gone and I could finally ran my app directly from Netbeans as I wanted to.   :)

Eclipse crashes in elementaryOS

Everytime I try to run eclipse, my system crashes. That happens when it appears the window that asks me to select the workspace. I've installed JDK and Maven, and downloaded Eclipse from the official website
It's a bug in the SWT porting on GTK3. There is no real solution, but there is a workaround by forcing Eclipse to use GTK2.
I assume your Eclipse folder is /opt/eclipse and that you don't have write permissions in this folder. Please change the commands, if your set-up differs.
There are two ways to apply this workaround, a long and explanatory way, and a short one for the lazy ;)
Modifying eclipse.ini by hand
You need to open eclipse.ini in your Eclipse folder:
sudo -i scratch-text-editor /opt/eclipse/eclipse.ini
and add the following lines:
--launcher.GTK_version
2
It's important to add these lines before --launcher.appendVmargs, otherwise Eclipse will crash.
for more reference, plz check
https://elementaryos.stackexchange.com/questions/1276/eclipse-mars-freezes-after-splash-screen
I was having this problem (Eclipse freeze, crash, with elementary OS Freya).
My Eclipse installation was done using the installer, so my path was different to what Prade jo indicates, but his solution was right on.
sudo scratch-text-editor
Browse to home -> yourUserName -> eclipse -> java-mars (or whichever version you have) -> eclipse -> eclipse.ini
The line before "--launcher.appendVmargs", add:
--launcher.GTK_version
2
Should now be good to go.
I had the same issue with Oxygen and Elementary Loki. Changing to GTK2 worked for me.
Try running eclipse from the terminal to see the problem. Most likely it is an X server problem.

How to install Maven 2 plugin for Eclipse on 64-bit linux?

I have Fedora 11 (x86 64) installed with Eclipse. I need a Maven plugin, preferrably m2eclipse, but I cannot find out how to install it. I've tried going through yum, but to no avail (I can't even find any maven plugins).
On my other laptop, I've tried installing the plugin using yum on a 32 bit install of Fedora 11, and while the package shows as being installed, I still don't see it in Eclipse. I've even tried starting eclipse with the clean flag.
Could anyone provide me with help? I've got maven 2.0.4 installed. Thanks in advance!
I was able to install the core components of the m2eclipse plugin after I first installed the ganymede packages from their update site:
http://download.eclipse.org/releases/ganymede/
Apparently "Fedora Eclipse" is not a flavor of the ganymede build.
Use the following update site: http://m2eclipse.sonatype.org/update/
It's typically under Help -> Software Updates… and then you can add a new update site. Use the one above and you should have the option to install the plugin.
Goto Eclipse->Help->Install New Software...
Add the following update site in Eclipse
http://m2eclipse.sonatype.org/sites/m2e
and enable the repository for your release of eclipse under "Available Software Sites" as well (which is disabled in Fedora by default).
Afterwards the installation in Eclipse should work without any missing dependencies.
I was hitting the same problem; evlipse installs it but the plugin isn't visible in the list nor are any of the features it should offer (such as a maven import wizard).
java 6, ubuntu, eclipse downloaded from the official site.
I removed ~/.eclipse/org.eclipse.platform_3.5.0_1020258342
Started eclipse again
added the EMF update site
added the IAM site
installed eclipse IAM core, said no to resarting the workspace, quit eclipse
started eclipse
and its working.

org.eclipse.swt.SWTError: No more handles - after installing ibus

I needed to install ibus on Ubuntu 19.04 LTS and shortly after doing so I started getting this error when trying any file in Eclipse 2019.
org.eclipse.swt.SWTError: No more handles
I tried installing the newest version thinking something broke in Eclipse, but I couldn't even install because I got the same error in the installer.
I didn't realize right away that ibus was the cause because I didn't try using Eclipse for several hours after installing it.
After a lot of searching and trying just about everything, the answer turned out to be the need to set the GTK mode before launching Eclipse.
export GTK_IM_MODULE="ibus"
To make my life easier in the future, I created a script file to do this any time I started Eclipse. This is a simple text file with the executable flag set.
#/bin/bash
export GTK_IM_MODULE="ibus"
~/Programs/eclipse/php-2019-03/eclipse/eclipse
I hope this saves others a great deal of searching.

Resources