AnsweredAssumed Answered

64 bit java on AMD?

Question asked by jian on Aug 7, 2006
Latest reply on Aug 9, 2006 by kevinr
Does alfresco support 64 bit java on 64 bit Linux?

I'm using jdk-1_5_0_07-linux-amd64.bin from sun. When I tried to compile alfresco from source, it gave me following errors:

init:
     [echo] Starting build for repository at 17:36

common.compile-java:
    [mkdir] Created dir: /media/usbdisk/Linux/Alfresco/HEAD/root/projects/repository/build/classes
    [javac] Compiling 1276 source files to /media/usbdisk/Linux/Alfresco/HEAD/root/projects/repository/build/classes
    [javac] /media/usbdisk/Linux/Alfresco/HEAD/root/projects/repository/source/java/org/alfresco/repo/action/executer/ContentMetadataExtracter.java:2: warning: unmappable character for encoding UTF8
    [javac]  * Copyright (C) 2005 Jesper Steen M�ller
    [javac]                                     ^
    [javac] /media/usbdisk/Linux/Alfresco/HEAD/root/projects/repository/source/java/org/alfresco/repo/action/executer/ContentMetadataExtracter.java:46: warning: unmappable character for encoding UTF8
    [javac]  * @author Jesper Steen M�ller
    [javac]                          ^
    [javac] /media/usbdisk/Linux/Alfresco/HEAD/root/projects/repository/source/java/org/alfresco/repo/content/transform/HtmlParserContentTransformerTest.java:28: warning: unmappable character for encoding UTF8
    [javac]     private static final String SOME_CONTENT = "azAz10!�$%^&*()\t\r\n";
    [javac]                                                        ^


    [javac] The system is out of resources.
    [javac] Consult the following stack trace for details.
    [javac] java.lang.OutOfMemoryError: Java heap space

BUILD FAILED
/media/usbdisk/Linux/Alfresco/HEAD/root/common/build.xml:57: The following error occurred while executing this line:
/media/usbdisk/Linux/Alfresco/HEAD/root/common/common.xml:24: Compile failed; see the compiler error output for details.

Thanks,
Jian

Outcomes