9 Replies Latest reply: Mar 9, 2016 4:18 PM by sconstable_illumina RSS

Avamar GUI and JRE versions


Does Avamar Administrator 6.1.0-402 work with JRE 7 update 7?  We've pushed a domain policy to uninstall JRE versions prior to the latest due to the security vulnerability and can't open, uninstall, or reinstall Avamar Administrator.  Any ideas?


Reinstalling over the top of the old installation gives this error:



Avamar Administrator


An installation of Java Runtime Environment 5 was not detected.  Please install Java Runtime Environment 5 (update 12 or greater) before installing Avamar Administrator.





Trying to run Avamar Administrator gives this error:




Failed to create sub-process.






  • 1. Re: Avamar GUI and JRE versions
    Sandeep Sinha

    Are you able to install JRE successfully on the client ?

  • 2. Re: Avamar GUI and JRE versions

    Yes, JRE version 7 update 7 installed successfully.

  • 3. Re: Avamar GUI and JRE versions
    Ian Anderson

    I had a chat with the devs and QA on this. Java 7 hasn't been qualified against 6.1 and there is a known issue with the install / update script that prevents the MC GUI from correctly finding Java 7. This will be resolved in 6.1 SP1 which is due out Real Soon Now.


    In the meantime, the devs suggested using the "web start" functionality to launch the GUI from Enterprise Manager on systems that only have Java 7 available.

  • 4. Re: Avamar GUI and JRE versions

    Thanks for following up on this.  Using web start does work, it's just a few more steps than a convenient shortcut.  Is is normal to get a Java security error about an expired certificate when using web start to launch the Administrator GUI?

  • 5. Re: Avamar GUI and JRE versions

    I'm running with Java 7, just change the run command in the desktop and start menu short cuts to end with JRE7 instead of JRE6 as follows (note you will also have to list correct Avamar version for your install


    "C:\Program Files\avs\administrator\\bin\mcgui.bat" C:\PROGRA~1\Java\jre7


    All the functionality appears to work correctly.


    More simple than using the web interface.

  • 6. Re: Avamar GUI and JRE versions

    When I try the solution offered, I get:


    c:\>"C:\Program Files (x86)\avs\administrator\\bin\mcgui.bat" "C:\Program Files (x86)\Java\jre7"


    c:\>rem start the gui


    c:\>PATH=C:\ORACLE\product\11.1.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Fi

    les (x86)\IBM\Client Access\Emulator;C:\Program Files (x86)\IBM\Client Access\Shared;C:\Program Files (x86)\IBM\Client Access\;C:\Program Files (x86)\Java\jre7;



    c:\>.\bin\runcmd ""C:\Program Files (x86)\Java\jre7"\bin\javaw" -Djava.util.prefs.PreferencesFactory=com.avamar.mc.util.MCGUIPreferencesFactory -Djava.util.pref

    s.userRoot=\"C:\Users\kbuckley\.avamardata\var\mc\gui_data\prefs\" -Djava.util.logging.config.file=lib\mcclient_logging.properties -Dsun.java2d.noddraw=true -cp



    j.jar -Djavax.net.ssl.trustStore=lib\rmi_ssl_keystore -Djavax.net.ssl.keyStore=lib\rmi_ssl_keystore -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces

    .jaxp.DocumentBuilderFactoryImpl -Xmx256m com.avamar.mc.gui.console.LoginDialog

    The system cannot find the path specified.


    Any ideas?


    Thanks in advance.

  • 7. Re: Avamar GUI and JRE versions



    c:\>C:\Program Files (x86)\avs\administrator\\bin\mcgui.bat  C:\Progra~2\Java\jre7

    The mcgui.bat does not recognize the space, we have to use ~ instead

  • 8. Re: Avamar GUI and JRE versions

    Hi All,


    We have encountered this problem after upgrading the Java Runtime Environment from 7 something to 8u83.


    Seems like the "MCGUI.bat" does not accept any special charcters in the parameter name, so the supposedly first solution

    to correct the second parameter in the MCGUI shortcuts, that ususally was:




    What should stand for C:\Program Files\Java\jre1.8.0.73 did not work....


    So, need to cheat the OS then and use the magic of symlink.

    1. Install new java

    2. Create symlink from the older one:

    # mklink /d jre7 jre1.8.0_73

    where "jre7" was the old java directory and "jre1.8.0_73" is the new one.


    Summing up: Windows supports spaces in names since Windows95, time to start supporting this too.

  • 9. Re: Re: Avamar GUI and JRE versions

    You can run the avamar Administrator from a JNLP file instead of the batch file.


    Not sure if this is actually supported by EMC but I have been running it this way for years and never had any issues with java versions.  I almost always run the latest Java.


    I attached an MCgui.jnlp file, the file needs to be opened in a text editor and in the 2 locations that say "Replace_This_With_Your_Server" type in your server name, leave the rest as is.


    Once you edit the file, the JNLP file should launch java web start.


    The great thing about this method, is you never need to update it, as long as EMC doesnt change the java path to the MC, it will update automatically.


    Let me know if you have any issues.