Posts Tagged Eclipse error in Mint
Eclipse issues in Linux Mint
Posted by Randy in Applications, Linux Stuff, Open Source, Operating Systems, Programming, Web Development on January 10, 2010
I've been wrestling with IDEs and OSs for the past few days, trying to decide which would be best for Javascript and PHP development. I had been using Netbeans. I absolutely love Netbeans, but I found that editing Javascript in it was somewhat lacking. I was having trouble keeping up with my nested anonymous functions and thought it'd be a good time to try out other alternatives.
I bounced around between Linux Mint, Mac OS X, and Windows 7. I find that I would really like to program on my Macbook Pro, but it just doesn't feel comfortable. There's something about the keyboard setup or something that just annoys me. It's more of a problem with my familiarity with the keyboard, I think. At any rate, after messing with Eclipse, Netbeans, and Textmate on my Mac, I decided it was going to be a no-go.
Windows 7 presented a problem in the fact that XAMPP seems to have issues with sessions. They work but almost at random, creating a new session will lock up the entire web server. When you are developing a website which uses Sessions for user logins, that creates a problem. So, I decided it would be in my best interest to use Linux, which seems to be made for programmers, because most programming related things work great in it and the fact that you almost have to be a programmer to get some things to work correctly in it. Though, that is an outdated misconception, but everyone still seems to believe it.
I had been using Linux for most of the development of my new project anyway. So, there was no transition there. I'm using SVN on a server machine so it really didn't matter which OS or IDE I decided upon for that. They are all pretty universal in their ability to handle SVN. The major exception was Mac OS X which didn't include the ssh-askpass command needed to tunnel SVN through ssh correctly. I was able to find a shell script that handled the ssh-askpass function, however. Textmate didn't really work well, either, because it didn't really have robust SVN integration. It was pretty much just like manual SVN. I also needed separate programs for Diff and Merge. That was lacking and clunky. I was spoiled by Netbeans' built-in Merge, Diff, SVN, and so forth.
I thought I'd give Aptana a try. It is a PHP developer plugin for Eclipse. It is also available in a standalone package. I had various problems with the standalone version of Aptana so I decided to install Eclipse from the LinuxMint/Ubuntu repositories. Eclipse worked great, and Aptana installed perfectly. However, I needed the SVN tools that are Aptana add-ons. They wouldn't install. There was a version conflict with the version of Eclipse in the LinuxMint/Ubuntu repositories.
So I decided to install the latest version of Eclipse. I downloaded and ran the latest version and found that there were UI issues. This brings me to the subject of this post. The UI issues were a major roadblock, so I searched for a solution. The problem, I believe, stems from compositing inside Gnome. Unlike Ubuntu, I couldn't find an easy way to turn off compositing inside LinuxMint. OH, I'm sure I could disable the compositing extension inside the xorg.conf file, but I really wanted a light switch option. The normal way I would handle this is the Fusion Icon. It didn't seem to work. I also tried disabling effects from the Gnome Appearances menu option. Compositing just wouldn't turn off that easily.
So here is the solution for Eclipse and Aptana inside Linux Mint.
GDK_NATIVE_WINDOWS=true /opt/eclipse/eclipse
That will work if eclipse is installed in /opt/eclipse, but I just had mine downloaded to my home folder. It doesn't really matter. You would just change the /opt/eclipse/eclipse to your actual executable path. The key here is to add the GDK_NATIVE_WINDOWS=true before the eclipse command.
I'm about to create a shortcut to do this for me. Now all my buttons will work when I click on them. That's convenient huh.
Aptana issues in LinuxMint, Aptana problem in Linux Mint, Eclipse error in Mint, Eclipse not working correctly in Linux Mint, Eclipse problem in LinuxMint
-
-
- Apple (8)
- Applications (36)
- Boring Stuff (7)
- Cool Videos (2)
- DIY (1)
- Free Stuff (4)
- Funny Pics (3)
- Games (4)
- Good Deals (6)
- Hardware (18)
- Health (1)
- Home Theater (2)
- Internet (28)
- Internet Money (8)
- Movies (5)
- Music (4)
- Networking (12)
- Operating Systems (49)
- Pipe Smoking (1)
- Programming (59)
- Reviews (5)
- Science (2)
- Security (2)
- SEO (4)
- Server Stuff (1)
- Stocks (3)
- technology (40)
- Tips (12)
- TV (3)
- Uncategorized (13)
-
Blogroll
Favorite Sites
-
Archives
- June 2017 (1)
- July 2016 (1)
- May 2016 (1)
- November 2015 (3)
- October 2015 (3)
- March 2015 (1)
- January 2014 (1)
- August 2013 (3)
- July 2013 (3)
- June 2013 (2)
- April 2013 (2)
- January 2013 (1)
- November 2012 (1)
- September 2012 (2)
- May 2012 (2)
- April 2012 (6)
- March 2012 (11)
- February 2012 (4)
- January 2012 (26)
- December 2011 (6)
- November 2011 (3)
- September 2011 (1)
- May 2011 (1)
- November 2010 (2)
- October 2010 (1)
- July 2010 (4)
- June 2010 (5)
- May 2010 (1)
- April 2010 (2)
- March 2010 (1)
- January 2010 (3)
- December 2009 (1)
- October 2009 (3)
- September 2009 (2)
- August 2009 (2)
- July 2009 (5)
- June 2009 (5)
- May 2009 (10)
- April 2009 (12)
- March 2009 (22)
-
Meta