You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Schmitz, Jeffrey A" <Je...@boeing.com> on 2007/02/27 23:28:25 UTC

Installing

 OK, I tried following the "Don't worry - this is really easy if you
follow the instructions in the INSTALL.txt file"  (see below) process to
build the latest version of Cocoon on Windows XP.  However, when I get
to step three below, I don't know where to execute the "build" command
from.  I tried from the cocoon directory, but just get an unrecognized
command error.  What do I need to do to build Cocoon?

Thanks,
Jeff

 1) Unpack the distribution

  Obviously you've done this already, but if you got errors when
unpacking
  the archive with tar, you might need to use gnutar instead. Our
archives
  contain long paths and filenames which cause problems with some
versions
  of the tar command.
 
 2) Set your JAVA_HOME environment
  
  You have to set your JAVA_HOME environment to point to the root
directory of
  the Java Virtual Machine (JDK 1.3.x or later) installed on your
machine. 

  To do this simply type:
  
    [unix] JAVA_HOME=/path/to/java/
    [win32] SET JAVA_HOME=c:\path\to\java

  your mileage may vary depending on your shell, but you know how to
setup 
  environments, right?

  If you're using JDK 1.3.x, you have to exclude the JCR block before
building
  Cocoon. Have a look at the "Choosing the blocks" section below on how
to
  exculude a block. Please note that some samples require JDK 1.4 or
above.

 3) Build Cocoon by typing "build" or "./build.sh"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Installing

Posted by Bertrand Delacretaz <bd...@apache.org>.
On 2/27/07, Schmitz, Jeffrey A <Je...@boeing.com> wrote:

> ...it doesn't like the space in my
> JAVA_HOME environment variable path(C:\Program Files\Java\jdk1.5.0_07).
> How can I get around this?...

Scrap the space, install java elsewhere...many java and cross-platform
programs will act funnily when confronted with paths including spaces,
it's much safer to stick to ASCII pathnames without spaces.

-Bertrand

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: Installing

Posted by Marc Driftmeyer <md...@yahoo.com>.
when you're at the C:\>java -version

does this return back the version or is their a console error?

Suggestion: Update to jdk1.5.0_11

http://java.sun.com/j2se/1.5.0/install-windows.html

To avoid space issues I'd create a separate Java folder under C:\>Java
and reference your path variables from there that doesn't need to parse
%20 spaces.

- Marc


--- "Schmitz, Jeffrey A" <Je...@boeing.com> wrote:

> OK, I got past that problem, but now it doesn't like the space in my
> JAVA_HOME environment variable path(C:\Program
> Files\Java\jdk1.5.0_07).
> How can I get around this?
> 
> Thanks,
> Jeff 
> 
> -----Original Message-----
> From: Schmitz, Jeffrey A 
> Sent: Tuesday, February 27, 2007 4:28 PM
> To: users@cocoon.apache.org
> Subject: Installing
> 
>  OK, I tried following the "Don't worry - this is really easy if you
> follow the instructions in the INSTALL.txt file"  (see below) process
> to
> build the latest version of Cocoon on Windows XP.  However, when I
> get
> to step three below, I don't know where to execute the "build"
> command
> from.  I tried from the cocoon directory, but just get an
> unrecognized
> command error.  What do I need to do to build Cocoon?
> 
> Thanks,
> Jeff
> 
>  1) Unpack the distribution
> 
>   Obviously you've done this already, but if you got errors when
> unpacking
>   the archive with tar, you might need to use gnutar instead. Our
> archives
>   contain long paths and filenames which cause problems with some
> versions
>   of the tar command.
>  
>  2) Set your JAVA_HOME environment
>   
>   You have to set your JAVA_HOME environment to point to the root
> directory of
>   the Java Virtual Machine (JDK 1.3.x or later) installed on your
> machine. 
> 
>   To do this simply type:
>   
>     [unix] JAVA_HOME=/path/to/java/
>     [win32] SET JAVA_HOME=c:\path\to\java
> 
>   your mileage may vary depending on your shell, but you know how to
> setup
>   environments, right?
> 
>   If you're using JDK 1.3.x, you have to exclude the JCR block before
> building
>   Cocoon. Have a look at the "Choosing the blocks" section below on
> how
> to
>   exculude a block. Please note that some samples require JDK 1.4 or
> above.
> 
>  3) Build Cocoon by typing "build" or "./build.sh"
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 



 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: Installing

Posted by "Schmitz, Jeffrey A" <Je...@boeing.com>.
OK, I got past that problem, but now it doesn't like the space in my
JAVA_HOME environment variable path(C:\Program Files\Java\jdk1.5.0_07).
How can I get around this?

Thanks,
Jeff 

-----Original Message-----
From: Schmitz, Jeffrey A 
Sent: Tuesday, February 27, 2007 4:28 PM
To: users@cocoon.apache.org
Subject: Installing

 OK, I tried following the "Don't worry - this is really easy if you
follow the instructions in the INSTALL.txt file"  (see below) process to
build the latest version of Cocoon on Windows XP.  However, when I get
to step three below, I don't know where to execute the "build" command
from.  I tried from the cocoon directory, but just get an unrecognized
command error.  What do I need to do to build Cocoon?

Thanks,
Jeff

 1) Unpack the distribution

  Obviously you've done this already, but if you got errors when
unpacking
  the archive with tar, you might need to use gnutar instead. Our
archives
  contain long paths and filenames which cause problems with some
versions
  of the tar command.
 
 2) Set your JAVA_HOME environment
  
  You have to set your JAVA_HOME environment to point to the root
directory of
  the Java Virtual Machine (JDK 1.3.x or later) installed on your
machine. 

  To do this simply type:
  
    [unix] JAVA_HOME=/path/to/java/
    [win32] SET JAVA_HOME=c:\path\to\java

  your mileage may vary depending on your shell, but you know how to
setup
  environments, right?

  If you're using JDK 1.3.x, you have to exclude the JCR block before
building
  Cocoon. Have a look at the "Choosing the blocks" section below on how
to
  exculude a block. Please note that some samples require JDK 1.4 or
above.

 3) Build Cocoon by typing "build" or "./build.sh"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org