64 bit java on AMD?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 06:39 PM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 03:50 AM
I don't know of a reason why it shouldn't - but it appears you need to give the ANT process more memory on a 64bit machine by default. I guess you will have to edit our build scripts to do that. I have fixed the two warnings you posted also and will check that in SVN shortly.
Thanks,
Kevin
Thanks,
Kevin
