A good Eclipse for PHP in Ubuntu 11.10 tutorial - eclipse

Well I´m just moving in to Linux, so I´m using Ubuntu, I installed Ubuntu 11.10, so I was wondering if anyone can give me a hand on how to install succesfuly Eclipse to develope in PHP, I used to use Eclipse Helios (Windows 7), but helios is not inside Ubuntu´s repository, so I guess I´ll have to try it manually. Still prefer to download it from repository not so good with command lines.
Anyone knows a good tutorial?, I´m a newbie in linux so please be very descriptive.

This is an older thread so don't know whether this is still helpfull. Why do you need helios? If you go to the help -> install new software in eclipse then select indigo update site end search for pdt (php development kit). Then install and restart afterwards and their you have a php-perspective with pretty much everything you will need.

Welcome to ubuntu. Their forums are very good as well. To get started you should always use Synaptic or Aptitude APT to get and install packages (software) in Ubuntu. That way the system knows and tracks release and upgrade info.
So open Synaptic and search for Eclipse.. Check it "Marked for Installation" and apply it. It will then install the Eclipse distro for your release. From there it is the same as windows in terms of configuring and installing plug-ins, etc.. It will be installed in "Applications -> Programming"
There is also a Software Center in Ubuntu that may also have Eclipse and other dev tools. You may also need to install "server headers" in you Ubuntu environment to get the dev-tools. I am not sure in 11.10

Related

Eclipse 4.6 Neon via ppa

How to install Eclipse 4.6 Neon via ppa on Linux Mint 18 x64 and update it with apt-get? Newest one in repository is 3.8. I know, that I can download it from website, but I want it to be automatically updated with system, as everything else.
According to the wiki, you'll need to install Neon using their installer and then follow the in-app upgrade process for later releases. They seem to be touting their installer as they best way to stay up to date at this point.
Source: https://wiki.eclipse.org/FAQ_How_do_I_upgrade_Eclipse_IDE%3F
..to use Eclipse Neon IDE, you have to download a new package or use
the Eclipse IDE Installer from http://eclipse.org/downloads . After
Neon, the usual upgrade process detailed below works.
There doesn't appear to be a repo configured to automatically update using your apt.

Failed to load JavaHL Library

After updating to Snow Lion I started receiving these errors in Flash Builder / Eclipse when trying to use SVN:
Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
/opt/subversion/lib/libsvnjavahl-1.0.dylib: Library not loaded: /usr/lib/libpq.5.dylib Referenced from: /opt/subversion/lib/libsvnjavahl-1.0.dylib Reason: no suitable image found. Did find: /usr/lib/libpq.5.dylib: mach-o, but wrong architecture /usr/lib/libpq.5.dylib: mach-o, but wrong architecture
no svnjavahl in java.library.path
java.library.path = .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Try this:
Select Window >> Preferences
Expand Team >> SVN
Under SVN interface set Client to SVNKit (Pure Java) SVNKit....
If you do not need to use JavaHL, Subclipse also provides a pure-Java SVN API library -- SVNKit (http://svnkit.com). Just install the SVNKit client adapter and library plugins from the Subclipse update site and then choose it in the preferences under Team > SVN.
On Kubuntu, my path to the library changed because of installing another Java version. Here's the whole picture, but in short:
sudo apt-get install libsvn-java
sudo find / -name libsvnjavahl-1.so
The output from the last command could look like this, for example:
/usr/lib/x86_64-linux-gnu/jni/libsvnjavahl-1.so
This gives you the path, so you can add the following to your eclipse.ini:
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/
Check out this blog. It has a ton of information.
Also if installing through brew don´t miss this note:
You may need to link the Java bindings into the Java Extensions folder:
$ sudo mkdir -p /Library/Java/Extensions
$ sudo ln -s /usr/local/lib/libsvnjavahl-1.dylib /Library/Java/Extensions/libsvnjavahl-1.dylib
I Just installed Mountain Lion and had the same problem
I use FLashBuilder (which is 32bit) and MountainLion is 64bit, which means by default MacPorts installs everything as 64bit. The version of subclipse I use is 1.8
As i had already installed Subversion and JavaHLBindings I just ran this command:
sudo port upgrade --enforce-variants active +universal
This made mac ports go through everything already installed and also install the 32bit version.
I then restarted FlashBuilder and it no longer showed any JavaHL errors.
You may or may not need JavaHL depending on your OS. In addition to other suggestions just posting this here.
For other OS see this source: http://subclipse.tigris.org/wiki/JavaHL
maybe you can try this: change jdk version.
And I resolved this problem by change jdk from 1.6.0_37 to 1.6.0.45 .
BR!
i tried every single solution available and finally for me the problem was:
uninstall Native JavaHL 1.6
install everything under Subclipse from this site:
http://subclipse.tigris.org/update_1.10.x>
For me i started getting this problem when I upgraded to java 8, and then reverted back to java 7. Upgraded again to java 8 and the problem got resolved.
For Eclipse/STS v3.9.X windows user, you may need to update your subclipse version.
Go to Help > Install New Software > Click on Subclipse and edit the version from 1.6.X to 1.8.X
This method also apply to those who encounter JavaHL not available. You can check whether JavaHL is available or not by Go to Windows > Preference > Team > SVN. You may check it in SVN Interface > Client section.
If this work on MAC OS, kindly response in comment section. :)
My Understanding - Basically, svn client comes by default on Mac os. While installing in eclipse we should match svn plugin to the mac plugin and javaHL wont be missing. There is a lengthy process to update by installing xcode and then by using homebrew or macports which you can find after googling but if you are in hurry use simply the steps below.
1) on your mac terminal shell
$ svn --version
Note down the version e.g. 1.7.
2) open the link below
http://subclipse.tigris.org/wiki/JavaHL
check which version of subclipse you need corresponding to it. e.g.
Subclipse Version SVN/JavaHL Version
1.8.x 1.7.x
3) ok, pick up url corresponding to 1.8.x from
http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
and add to your eclipse => Install new Software under help
select whatever you need, svn client or subclipse or mylyn etc and it will ask for restart of STS/eclipse thats it you are done. worked for me.
NOTE: if you already have multiple versions installed inside your eclipse then its best to uninstall all subclipse or svn client versions from eclipse plugins and start fresh with steps listed above.

Can not install WOLips Goodies Eclipse Plugin on CentOS 6

So, I'm using CentOS 6 desktop to do WebObjects development. Normally I do WO development on Mac, but our office only has Linux-based desktops so I'm going through the hassle of getting the team set up with the appropriate development environment. Anyway, when I try to install WOLips Goodies plugin through Eclipse I get the following error:
"Cannot complete the install because some dependencies are not satisfiable
org.objectstyle.wolips.goodies.feature.feature.group [3.7.1006251] cannot be installed in this environment because its filter is not applicable."
Can anyone tell me what I'm missing here? Or maybe can you tell me where to look to find the missing dependencies?

How do I build and install a plugin for KDevelop?

In particular, I am trying to install kdev-control-flow-graph
I have managed to clone the source from git, cmake the source to build a kdevcontrolflowgraphview.so installed to /usr/local/lib, but when I restart kdevelop, I can find no sign of the plugin!
Under the Loaded Plugins window, it doesn't show up, and I can't seem to find a way to tell it about the existence of the new plug-in.
I am running KDevelop Version 4.2.3 using KDE Development Platform 4.7.2 on Ubuntu 11.10 64-bit.
Any help or suggestions would be greatly appreciated.
Make sure that "/usr/local/lib" is in your KDEDIRS var, and run "kbuildsyscocoa4 --noincremental"
If that doesn't work, perhaps the plugin's .desktop file needs to have its version modified.
Also note that you aren't running KDE Development Platform 4.7.2 because that doesn't exist (you probably mean KDE 4.7.2), you should be running KDevplatform 1.2.3.

Subclipse with Eclipse x64

I've just bought a new computer x64 and intalled windows 7 and Eclipse Helios x64. When I tried to install subclipse it didn't work... after a few times trying to install it and getting stuck when eclipse was trying to check the dependences, I did get to install it but it simply didn't work.
When I chenged the perspective to SVN Repository I got an error. Anyway, I downloaded Eclipse Helios x86 and also got stuck on the dependeces checking part. But after a while trying it was installed and now it works.
But the thing is that I want to install eclipse helios x64 since I have a x64 computer.
Did anybody have the same or a similar problem? How did you solve it?
Thanks.
I'm using Eclipse64 with a working SVN plugin.
But I changed the SVN Client interface from "Java HAL" to "SVNKit" which works much better. I installed this module via Yoxos and then switched in the preferences Team > SVN > SVN interface to SVNKit.
If you want to stick to JavaHL way of accessing the repository, you can also install the 64 bits version of JavaHL.
Referenced here - look at the paragraph saying Windows 64-bit. It will redirect you to slik subversion client
You can install the whole client (I could not install only javahl with the custom install)
To make sure it is taken into account, edit your eclipse.ini file and, after the -vmargs line, add -Djava.library.path=C:\programs\slik (or if you already have an item for the jni path, add your own path).