Home › Forums › Product Support › JavaRa Support › Using JavaRa on remote machines
- This topic has 2 replies, 2 voices, and was last updated 10 years ago by
Shane Gowland.
-
AuthorPosts
-
Anonymous
InactiveI am attempting to use the batch file below with JavaRA with no success.
[code title=”removeOldJava.cmd”]
@ECHO OFF
IF NOT EXIST %TEMP%\JavaRa MKDIR %TEMP%\JavaRa
IF NOT EXIST %TEMP%\JavaRa\JavaRa.exe COPY \\mymachine\C$\Downloads\JavaRa-1.16-5-5-12\JavaRa.exe %TEMP%\JavaRa\
IF NOT EXIST %TEMP%\JavaRa\JavaRa.def COPY \\mymachine\C$\Downloads\JavaRa-1.16-5-5-12\JavaRa.def %TEMP%\JavaRa\
CD %TEMP%\JavaRa
JavaRa.exe /CLEAN /PURGE /SILENT
CD ..
RMDIR /Q /S .\JavaRa
[/code]The idea is to use psexec /c to copy the file to the remote machines and execute it.
The return code is -1073741819 no matter what I try.
Thanks for any pointers.
Anonymous
InactiveOK, so I feel like an idiot, wrong version. Now the problem is it removed all of the Java versions not just the old one. I have 6 and 7 on the boxes and am trying to just blow away the old ones.
Thanks!
Ed
Shane Gowland
KeymasterThere is a /REMOVEOLD switch to do just that. It’s still a work in progress, so I wouldn’t use it in a life and death situation – but it does work.
-
AuthorPosts