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.
I'm running 188.8.131.52 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\184.108.40.206\bin\mcgui.bat" C:\PROGRA~1\Java\jre7
All the functionality appears to work correctly.
More simple than using the web interface.
When I try the solution offered, I get:
c:\>"C:\Program Files (x86)\avs\administrator\220.127.116.112\bin\mcgui.bat" "C:\Program Files (x86)\Java\jre7"
c:\>rem start the gui
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.
Thanks in advance.
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\jre18.104.22.168 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.
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.
mcqui.jnlp 2.5 K