cancel
Showing results for 
Search instead for 
Did you mean: 

Enterprise 3.1 Install Problem

fewarren
Champ in-the-making
Champ in-the-making
I have tried to install the current Alfresco-Enterprise-3.1.1-Full-Setup install on a Windows XP virtual machine.  The install fails due to not being able to find Java.  The install log is:

Error in action LocateJavaRuntime: expected version number but got "jre1.5.0"
Error in action LocateJavaRuntime: expected version number but got "jre1.5.0"
    while executing
"$obj execute"
    (procedure "::InstallJammer::ExecuteActions" line 64)
    invoked from within
"::InstallJammer::ExecuteActions $id -when $when"
    (procedure "::InstallJammer::NextCommand" line 😎
    invoked from within
"::InstallJammer::NextCommand .wizard 991553B3-06E2-412E-89E5-1829C782E086"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [string map $map $command]"
    (procedure "_eval_command" line 22)
    invoked from within
"_eval_command $path $cmd"
    (procedure "Wizard::next" line 9)
    invoked from within
"Wizard::next .wizard 1"
    ("eval" body line 1)
    invoked from within
"eval [linsert $args 0 Wizard::$cmd .wizard]"
    (procedure ".wizard" line 1)
    invoked from within
".wizard next 1"
    invoked from within
".wizard.buttons.b1:cmd invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0
    "
        (procedure "TTKButton::invoke" line 2)
        invoked from within
    "TTKButton::invoke .wizard.buttons.b1"
        ("eval" body line 1)
        invoked from within
    "eval [linsert $args 0 TTKButton::$cmd .wizard.buttons.b1]"
        (procedure ".wizard.buttons.b1" line 1)
        invoked from within
    ".wizard.buttons.b1 invoke "
        invoked from within
    ".wizard.buttons.b1:cmd instate {pressed !disabled} { .wizard.buttons.b1 state !pressed; .wizard.buttons.b1 invoke }"
        ("uplevel" body line 1)
        invoked from within
    "uplevel #0
      $args"
          (procedure "TTKButton::instate" line 2)
          invoked from within
      "TTKButton::instate .wizard.buttons.b1 {pressed !disabled} { .wizard.buttons.b1 state !pressed; .wizard.buttons.b1 invoke }"
          ("eval" body line 1)
          invoked from within
      "eval [linsert $args 0 TTKButton::$cmd .wizard.buttons.b1]"
          (procedure ".wizard.buttons.b1" line 1)
          invoked from within
      ".wizard.buttons.b1 instate {pressed !disabled} { .wizard.buttons.b1 state !pressed; .wizard.buttons.b1 invoke } "
          (command bound to event)

      I am about out of ideas.  I have tried the usual things like reinstalling the JDK, but no luck.  Anyone got something to try?

      Thanks!

      Fred Warren
10 REPLIES 10

jayjayecl
Confirmed Champ
Confirmed Champ
Can you tell us the path of the JAVA_HOME variable that is set on your environment?

fewarren
Champ in-the-making
Champ in-the-making
JayJay,

No problem.  The JAVA_HOME is set to "C:\Program Files\Java\jdk1.6.0_16" as displayed by the echo command.

This one really has me stumped!

Fred

mrogers
Star Contributor
Star Contributor
What does "java -version" say?   You could be picking up the wrong version of java from the command path.

fewarren
Champ in-the-making
Champ in-the-making
I think we are getting warm folks!  Here is the output of "java -version"

C:\Documents and Settings\warren3>java -version
Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value 'jre1.5', but '1.5' is required.
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.

I have done several java installs but clearly something didn't take.  Any suggestions?

Thanks!

Fred

fewarren
Champ in-the-making
Champ in-the-making
Further update.  Edited the Windows registry and changed the referenced location to "1.6".  Restarted and tried install again.  Same problem.  Changed several other registry entries that had the jre1.5 string to 1.6.  No effect on install. 

Thoughts?

Fred

jayjayecl
Confirmed Champ
Confirmed Champ
I might say a dumb thing, but have you tried to just follow the newbie path to install Java 6 on your computer (google "Java 6", find an installer, install etc …) ?
Does not that work ?

fewarren
Champ in-the-making
Champ in-the-making
JayJay,

Not a bad suggestion at all.  I got the latest version (16) of the Java SDK and did a reinstall.  It asked whether I wanted the previous version 16 uninstalled and I said yes, so it wiped out my old version 16 and put in a brand new fresh one.  I did a reboot and tried the Enterprise install again.  No luck.  Same darn problem.  SO, anyone got some additional thoughts?  I am beginning to lose faith in Alfresco.

jayjayecl
Confirmed Champ
Confirmed Champ
and now, what is the result of java -version ?

fewarren
Champ in-the-making
Champ in-the-making
JayJay,

Not much change on the Java version (seems to be stuck on Java 5):

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\warren3>java -version
java version "1.5.0_21"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_21-b01)
Java HotSpot(TM) Client VM (build 1.5.0_21-b01, mixed mode, sharing)

C:\Documents and Settings\warren3>