Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
# ---------------------------
# Start Bonsai Framework
# -----------------------
# Use local version of Java.
# Note, these lines must come just before -vmwargs
-vm
/Users/tin.pham/apps/eclipse/opt/java/jre1.8.0_121.jre/Contents/Home/bin/java
# -----------------------
# End Bonsai Framework
# --------------------------- 

Launch Eclipse

Start Eclipse by running the Eclipse executable included with the release. In our example the directories would be,

  • Windows = C:\apps\eclipse\eclipse.exe
  • Linux or Unix = /home/tpham/apps/eclipse/eclipse
  • Mac OS X = same as Linux

If using Mac OS X you will receive an error due to modification of the eclipse.ini file,

Panel

“Eclipse.app” is damaged and can’t be opened. You should move it to the Trash.

To fix this switch, open the There are two ways of fixing this.

Manually Adding Eclipse to Registry

This is the preferred method but I have just figured this out and yet to try on a fresh machine.

By manually adding Eclipse, you can remove yourself in the future.

Open the mac terminal and type the following,

Code Block
languagebash
su - setup.admin # My normal Mac User does not have sudo privileges, yours might.
cd ~/apps/
sudo spctl --master-disable

Then the error message turns to,

Panel

“Eclipse.app” is an application downloaded from the Internet. Are you sure you want to open it?

Click "open". This will add Eclipse into the registry and everything should start.

...

Clicking to Add to Registry

Open the mac terminal and type the following,

Code Block
languagebash
su - setup.admin # My normal Mac User does not have sudo privileges, yours might.
spctl --master-enable

Restart the computer.

...

add --label "eclipse" Eclipse.app # Eclipse.app is the Eclipse package.

...

Setup Tomcat

Similar to Eclipse, Tomcat also is also packaged without an installer. For windows we download the x86 .zip and for Linux or Unix download the .tar.gz file. Following the Bonsai Framework standards, decompress to the following folder,

  • C:\apps\eclipse-servers\apache-tomcat-6.0.24
  • /home/tpham/apps/eclipse-servers/apache-tomcat-6.0.24

Launch Eclipse

Start Eclipse by running the Eclipse executable included with the release. In our example the directories would be,

  • Windows = C:\apps\eclipse\eclipse.exe
  • Linux or Unix = /home/tpham/apps/eclipse/eclipse
  • Mac OS X = same as Linux

Configure Eclipse to Use Tomcat

...