Anaplan Connect 1.4 not detecting Java executable (Java binary at path does not exist)

Options
Jones90
Jones90 Member, ALL USERS Posts: 1 New Contributor

Hi there,

 

I am looking at updating from Anaplan Connect 1.3 to 1.4 but I'm having an issue with the .bat file not finding the java executable.

1.3 detects it without any change needed to the .bat file, but I have set the Java variable in the .bat file to the location of the JRE as well as setting the JAVA_HOME environment variable as well. This is the JRE location that is being used by 1.3 without issue.

The error returned is "Java binary at path does not exist". Has anyone else seen this error?

 

Thanks!

Comments

  • ankit_bhargava
    ankit_bhargava Member, ALL USERS, GroupMember, Master Anaplanner - Employee, Certified Master Anaplanner, Employee, Certified Model Builder Posts: 5 Master Anaplanner of the Year

    Hello Jones,

     

    It might help if you can copy and paste the Java variable you have defined in your script. I've seen this issue in the past where the Java variable might need to be defined without quotes. Here is an example:

     

    set JAVA=C:\Program Files\Java\jre1.8.0_231\bin\java.exe

     

    Thanks,

     

    Ankit

  • Ramana Reddy
    Ramana Reddy Member, ALL USERS, GroupMember, Community Member Posts: 2 New Contributor

    Hey Jones,

     

    I am using jdk-11.0.5 and I have tried setting JAVA_HOME variable value as C:\Program Files\Java\jdk-11.0.5\

    It worked for me.

     

    Thanks,

    Ramana