cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco with java 6

robertoroberto
Champ in-the-making
Champ in-the-making
Hi, I have java sdk 6.0 installed on my PC.
I can install Alfresco without java 5 and use java 6 (installed on PC) or It is recommended to use java 5 embedded in Alfresco installation.
Regards.
4 REPLIES 4

tommorris
Champ in-the-making
Champ in-the-making
That's fine. You can use any Java installation you want.

I never use the optionally downloaded java found in \alfresco\java.
Instead I use a separately installed one.
Just make sure that the CLASSPATH environment variable is correct.

Incidentally, Java 6 is okay if you're just using Alfresco's DM features,
but if you also install Alfresco WCM, you'll find that Alfresco is incompatible with Java 6.
So, if you're planning to use WCM, stick with Java 5 instead.

http://www.ixxus.com

robertoroberto
Champ in-the-making
Champ in-the-making
I have JAVA 6.
Alfresco server crashes sometimes with this error:



#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c928fea, pid=112, tid=2140
#
# Java VM: Java HotSpot(TM) Server VM (1.6.0_03-b05 mixed mode)
# Problematic frame:
# C  [ntdll.dll+0x18fea]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

—————  T H R E A D  —————

Current thread (0x4442c800):  JavaThread "Thread-103" daemon [_thread_in_native, id=2140]

Can you help me?
I will try to use embedded java 5.

tommorris
Champ in-the-making
Champ in-the-making
Interesting.
The JVM is crashing - perhaps a bug in the JVM version you're using?
Try upgrading/downgrading the java version you're using, either by minor or major version number.

Perhaps it's a JNI thing. Try disabling the CIFS service for a while, and see if it gets any better.

robertoroberto
Champ in-the-making
Champ in-the-making
I have imported alfresco user from LDAP server.

I have an error at alfresco startup fo cifs server:
http://forums.alfresco.com/viewtopic.php?=&p=27210

I'm not able to disable cifs server:
http://issues.alfresco.com/browse/AWC-1554

Is this the cause of java virtual machine error?