Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.
Info

Help is available by sending an email to csf-support@mit.edu
Have any suggestion on how improve this wiki?  Please give us your feedback at csf-support@mit.edu

Panel
Wiki Markup
Quick Links to:
{toc:minLevel=3}
Panel

Whenever building with Maven in Eclipse on the MAC, I get an "Exception while executing SCM command".

  • ERROR Exception while executing SCM command. Error while executing command. Error setting up environmental variables: Cannot run program "env": error=2, No such file or directory

ANSWER:  When Eclipse is launched from a shortcut or icon, it may not pick up the correct environment variables including the PATH so it does not look for env in the correct location (/usr/bin)

Work around: Launch Eclipse from the command line.

  1. Open terminal.
  2. Type: Path/To/Eclipse/eclipse –data /Path/To/Workspace/ (filling in the appropriate paths)
Panel
Wiki Markup
h3.Whenever I try to build my application, I get a *permGen* error.
*ANSWER:*  More memory has to be allocated to Eclipse for the build.  Do the following:
\\
* From within Eclipse, open either the *Package Explorer* or *Navigator* view.
*# Right click on the project that you are trying to build.
*# From the newly displayed list, select either *Run As* or *Debug As*.
*# From the newly displayed list,  select *Run Configurations...* or *Debug Configurations...*.
*# In the popup *Run Configuations* panel, from the left hand pane, under *Maven Build*, select the configuration that you are using to build your application.
*# In the right hand pane, select the *JRE* tab.
*# In the right hand pane, under *VM arguments*, enter the following:
{code}
-Xmx512m -Xms512m -XX:PermSize=256m -XX:MaxPermSize=512m
{code}
*# Your display should look similar to the following.
\\
\\
!eclipseJre.jpg!
\\
\\
When you are satisfied that everything is correct, click on the *Apply* button, then click on either the *Run* or *Close* button.
Panel

My build fails whenever MyEclipse tries to deploy my application to my OC4J application server.

ANSWER: