This post is more than 5 years old
143 Posts
2
32176
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.
---------------------------
OK
---------------------------
Trying to run Avamar Administrator gives this error:
---------------------------
runcmd
---------------------------
Failed to create sub-process.
---------------------------
OK
---------------------------
Thanks!
ionthegeek
2K Posts
0
October 9th, 2012 11:00
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.
Sandeep_Sinha
307 Posts
0
October 3rd, 2012 06:00
Are you able to install JRE successfully on the client ?
fdxpilot
143 Posts
0
October 3rd, 2012 08:00
Yes, JRE version 7 update 7 installed successfully.
fdxpilot
143 Posts
0
October 9th, 2012 16:00
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?
NotHappy3
1 Message
4
February 25th, 2013 06:00
I'm running 6.0.2.153 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\6.0.2.153\bin\mcgui.bat" C:\PROGRA~1\Java\jre7
All the functionality appears to work correctly.
More simple than using the web interface.
vmibuck
1 Message
0
May 8th, 2013 14:00
When I try the solution offered, I get:
c:\>"C:\Program Files (x86)\avs\administrator\6.1.0.402\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;
.\lib;.\lib;.\lib;.\lib
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
.;lib\mcclient.jar;lib\mccommons.jar;lib\asn_client.jar;lib\ansir_tristate.jar;lib\jh.jar;lib\jgraph.jar;lib\avamar_mdate.jar;lib\AxionAdministratorOLH.jar;lib
\mail.jar;lib\jfreechart-1.0.9.jar;lib\jcommon-1.0.12.jar;lib\xercesImpl.jar;lib\TableLayout-bin-jdk1.5-2007-04-21.jar;lib\certj.jar;lib\cryptojFIPS.jar;lib\ssl
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.
Anonymous
274.2K Posts
1
May 1st, 2014 18:00
Try
c:\>C:\Program Files (x86)\avs\administrator\6.1.0.402\bin\mcgui.bat C:\Progra~2\Java\jre7
The mcgui.bat does not recognize the space, we have to use ~ instead
f25
15 Posts
0
March 8th, 2016 00:00
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:
C:\Progra~1\Java\jre7
To
C:\Progra~1\Java\JRE18~1.07
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.
sconstable
60 Posts
0
March 9th, 2016 16:00
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.
1 Attachment
mcqui.jnlp