Versions Compared

Key

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

...

Unix/Mac

Windows

export PATH=$PATH:$MAVEN_HOME/bin

;C:\apache-maven-2.0.8\bin

...

(warning) Windows:

...

append

...

string

...

to

...

the

...

end

...

of

...

the

...

Path

...

system

...

variable

...

MAVEN_OPTS

...

Maven

...

does

...

not

...

read

...

JAVA_OPTS

...

on

...

start

...

up,

...

resulting

...

occasionally

...

in

...

"Out

...

of

...

Memory"

...

errors

...

when

...

building

...

Sakai.

...

To

...

assure

...

sufficient

...

memory

...

allocation

...

during

...

builds,

...

you

...

should

...

add

...

a

...

MAVEN_OPTS

...

environment

...

variable

...

as

...

defined

...

below.

...

For

...

UNIX

...

operating

...

systems

...

one

...

typically

...

modifies

...

a

...

startup

...

file

...

like

...

~/.bash_login

...

to

...

set

...

and

...

export

...

shell

...

variables

...

while

...

Mac

...

users

...

typically

...

set

...

and

...

export

...

environment

...

variables

...

in

...

.bash_profile

...

.

...

For

...

Windows,

...

go

...

to

...

Start

...

->

...

Control

...

Panel

...

->

...

System

...

->

...

Advanced

...

->

...

Environment

...

Variables

...

and

...

set

...

JAVA

...

_HOME

...

via

...

the

...

GUI.

No Format
export 

...

MAVEN_OPTS='-Xms256m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m'

...

noformat