• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

java jason error on attempt to install windows agen

Windows
4
11
1.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    Karl G
    last edited by Jan 9, 2019, 6:18 PM

    I am trying to install the window agent for triggercmd and i get a java error.
    i found a similar post in the forums with the advise to delete the command.json and command.json.backup files... i deleted the command.json but did not have a command.json.backup file. I also tried uninstalling the triggercmd application from the windows control panel and reinstalling the agent.... all those attempts led to the same error message on attempted reinstall

    1 Reply Last reply Reply Quote 0
    • K
      Karl G
      last edited by Jan 9, 2019, 6:22 PM

      and just to confirm this is an amd a10 running windows 10 64 bit
      please help!
      Thanks
      Karl

      1 Reply Last reply Reply Quote 0
      • K
        Karl G
        last edited by Jan 9, 2019, 6:56 PM

        one more update... i tried deleting the entire triggercmd folder under c:\users (which was still there after i uninstalled the agent from the windows control panel). i also deleted the pc from my profile at triggercmd.com.
        this allowed me to run the agent exe app again and enter a fresh token but that ultimately led to the same java error saying that the command.json.backup file does not exist... and sure enough when i check the triggercmd file which was recreated there is a command.json file but no backupfile.
        i have a jpg of the exact error message but not sure how to post it in this forum.
        pls help. i am very excited to use this system.

        thanks
        karl

        R 1 Reply Last reply Jan 10, 2019, 2:01 AM Reply Quote 0
        • R
          Russ @Karl G
          last edited by Russ Feb 3, 2019, 10:32 PM Jan 10, 2019, 2:01 AM

          @karl-g, please uninstall and re-download from the site. I took the new version I created last weekend down, and put v1.0.19 back because you and one other person reported this issue.

          EDIT: I found the problem and fixed it in the latest version of the agent, so now you won't get that error during the Windows agent installation.

          Russell VanderMey

          F 1 Reply Last reply Nov 3, 2022, 5:38 AM Reply Quote 0
          • K
            Karl G
            last edited by Jan 10, 2019, 4:20 PM

            Hi Russ,
            So following your instructions I was able to install the agent successfully but when I try to run a command using the "play" button in the GUI editor nothing happens. I am able to manually execute the batch file from explorer so I know that it works. it just seems that the agent is failing to actually run the file. its a very simple path too so I dont think the path is the issue:

            C:\x10 shorts\bedroom heater on.bat

            any thoughts?
            Thanks again for your help
            Karl

            R 1 Reply Last reply Jan 11, 2019, 12:03 AM Reply Quote 0
            • R
              Russ @Karl G
              last edited by Jan 11, 2019, 12:03 AM

              @karl-g, I see you have a space in the path to your batch file, so you'll need to add quotes around it like this:

              "C:\x10 shorts\bedroom heater on.bat"
              

              Russell VanderMey

              1 Reply Last reply Reply Quote 0
              • T tuicemen moved this topic from Instructions on Jan 31, 2022, 12:40 PM
              • F
                Francisco Torrealba @Russ
                last edited by Nov 3, 2022, 5:38 AM

                @Russ i am having this problem currently

                R 1 Reply Last reply Nov 4, 2022, 12:26 PM Reply Quote 0
                • R
                  Russ @Francisco Torrealba
                  last edited by Nov 4, 2022, 12:26 PM

                  @Francisco-Torrealba, which problem? The agent won't run your command? Can you paste your command here? If it has spaces it in, you'll need to quote it (see above).

                  Russell VanderMey

                  1 Reply Last reply Reply Quote 0
                  • S
                    Smart Communities
                    last edited by Smart Communities Nov 8, 2022, 6:24 PM Nov 8, 2022, 6:04 PM

                    Ignore me. i'm dumb. I must've repurposed this PC at some point. I deleted all the folders mentioned in the error, renamed the PC and removed the it my Computer list.

                    All good in the hood now!

                    This just started happening to me too. It gives me the error but after a couple of tries it installs. At least it looks like it does. Icon appears in systray but I can't interact with. Nothing happens when I right click on it. Other systray app work as they should.

                    Any ideas?

                    R 1 Reply Last reply Nov 8, 2022, 10:12 PM Reply Quote 0
                    • R
                      Russ @Smart Communities
                      last edited by Nov 8, 2022, 10:12 PM

                      @Smart-Communities, I've actually seen that before. I just clicked the little up arrow ^ that brings up all the tray icons, then it works. Is that what you see too?

                      Russell VanderMey

                      S 1 Reply Last reply Nov 22, 2022, 10:44 PM Reply Quote 0
                      • S
                        Smart Communities @Russ
                        last edited by Nov 22, 2022, 10:44 PM

                        @Russ The tray icon was there but it was unclickable. When I deleted those folders and the PC from my computer list on triggercmd admin, I was then able to reinstall and everything then worked as it should.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post