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

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

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 443 Views 1 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post