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

    How to run a .jar file on linux with TRIGGERcmd?

    General Discussion
    2
    2
    80
    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.
    • Pietro GonçalvesP
      Pietro Gonçalves
      last edited by Pietro Gonçalves

      I'm trying to use the command "java -jar ./Documents/Test/main.jar", main.jar has a JOptionPane.showMessageDialog, but when I run it by voice it doesn't show the output on the screen.
      When I click the green button to run, it runs .jar, but by voice it doesn't.
      The command "amixer -q sset Master 100% +" is also not working, why?

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Pietro Gonçalves
        last edited by

        @Pietro-Gonçalves, do any of your commands work? I suspect the problem might be that you set the command to be a background command?

        If you do that, your commands will run in the foreground via GUI editor, and they'll run the background when you run them remotely. You also have to have the background agent installed for background commands to run remotely.

        Russell VanderMey

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