Eclipse: Difference between revisions
No edit summary |
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight" Tags: Mobile edit Mobile web edit |
||
| Line 11: | Line 11: | ||
<li>Download the file, untar it into ~/opt </li> | <li>Download the file, untar it into ~/opt </li> | ||
<li> and make an executable launcher to start the program (/home/user/bin/eclipse) | <li> and make an executable launcher to start the program (/home/user/bin/eclipse) | ||
< | <syntaxhighlight lang="bash"> | ||
export MOZILLA_FIVE_HOME="/usr/lib/mozilla/" | export MOZILLA_FIVE_HOME="/usr/lib/mozilla/" | ||
export ECLIPSE_HOME="$HOME/opt/eclipse" | export ECLIPSE_HOME="$HOME/opt/eclipse" | ||
$ECLIPSE_HOME/eclipse $* | $ECLIPSE_HOME/eclipse $* | ||
</ | </syntaxhighlight> | ||
</li> | </li> | ||
<li> start eclipse and add the extras through the 'help' menu </li> | <li> start eclipse and add the extras through the 'help' menu </li> | ||
| Line 59: | Line 59: | ||
| type = failure | | type = failure | ||
| text = to get Subclipse working on my Ubuntu Intrepid Ibex system, I had to install the Java bindings for Subversion (see http://subclipse.tigris.org/wiki/JavaHL) and also modify my eclipse.ini settings}} | | text = to get Subclipse working on my Ubuntu Intrepid Ibex system, I had to install the Java bindings for Subversion (see http://subclipse.tigris.org/wiki/JavaHL) and also modify my eclipse.ini settings}} | ||
< | <syntaxhighlight lang="bash"> | ||
# provides the JavaHL libraries | # provides the JavaHL libraries | ||
sudo apt-get install libsvn-java | sudo apt-get install libsvn-java | ||
</ | </syntaxhighlight> | ||
Add to eclipse.ini | Add to eclipse.ini | ||
< | <syntaxhighlight lang="bash"> | ||
-Djava.library.path=/usr/lib/jni | -Djava.library.path=/usr/lib/jni | ||
</ | </syntaxhighlight> | ||
=== PHPEclipse === | === PHPEclipse === | ||
| Line 135: | Line 135: | ||
In addition to installing Eclipse, you should definitely be sure to set the Java environement | In addition to installing Eclipse, you should definitely be sure to set the Java environement | ||
< | <syntaxhighlight lang="bash"> | ||
sudo update-java-alternatives --list | sudo update-java-alternatives --list | ||
</ | </syntaxhighlight> | ||
That command should list something like | That command should list something like | ||
<pre> | <pre> | ||
| Line 144: | Line 144: | ||
</pre> | </pre> | ||
Then you can set the Sun Microsystems Java as the default with | Then you can set the Sun Microsystems Java as the default with | ||
< | <syntaxhighlight lang="bash"> | ||
sudo update-java-alternatives --set java-6-sun | sudo update-java-alternatives --set java-6-sun | ||
</ | </syntaxhighlight> | ||
To upgrade, you should be able to just | To upgrade, you should be able to just | ||