Windows – Alfresco installation – 4.2f “Could not find or load main class”

alfrescojavawindows

I've got a server that was running 4.2e. I heard about the 4.2f update, so I installed that (alongside, per the upgrade/validation instructions), but it fails to start at all. catalina configtest returns:

C:\Alfresco42f\tomcat\bin>catalina configtest Using CATALINA_BASE:
"C:\Alfresco42f\tomcat" Using CATALINA_HOME: "C:\Alfresco42f\tomcat"
Using CATALINA_TMPDIR: "C:\Alfresco42f\tomcat\temp" Using JRE_HOME:
"C:\ALFRES~1\java" Using CLASSPATH:
"C:\Alfresco42f\tomcat\bin\bootstrap.jar;C:\Alfresco42f\t
omcat\bin\tomcat-juli.jar" Error: Could not find or load main class
++JvmOptions=-XX:-DisableExplicitGC

I tried installing a standalone JDK as I saw on another post on the official Alfresco forums, but it didn't change anything. Tried to post this question to the Alfresco forums too, but it disappeared for awhile, then reappeared in the French language section where it's not getting any attention…

Ideas on why Alfresco can't find the Java that's built in?

Best Answer

I'm told, by an Alfresco developer, that 4.2f only contains a single bug fix and that I should be fine jumping to 5.0a directly. So, that's what I'm going to do. I don't know what's up with 4.2f as other people are running it, but it won't work on Windows or Linux (even on completely fresh machines) for me.

If you can get 4.2f running, good for you. :-) If you can't, it sounds like it's safe to just avoid that whole trainwreck (IMHO) of a release. :-)

Related Topic