Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
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

Quick

Links

to:

{

Panel
Wiki Markup
Table of Contents
:
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)
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}

  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.
    1. Right click on the project that you are trying to build.
    2. From the newly displayed list, select either Run As or Debug As.
    3. From the newly displayed list, select Run Configurations... or Debug Configurations....
    4. 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.
    5. In the right hand pane, select the JRE tab.
    6. In the right hand pane, under VM arguments, enter the following:

Panel
Wiki Markup
Code Block

-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.
    1. Your display should look similar to the following.

      Image Added

      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: