Support Forum

Registration is not required to ask a question. If you're a Pro Club member, please use our Priority Support page for a faster response.

Using JavaRa on remote machines

Home Forums Product Support JavaRa Support Using JavaRa on remote machines

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5312
    Anonymous
    Inactive

    I 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.

    #5314
    Anonymous
    Inactive

    OK, 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

    #5323
    Shane Gowland
    Keymaster

    There 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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.