Happy New Year! Yes, the current one, not a previous one; this is a new post, we swear!
0 Members and 1 Guest are viewing this topic.
gail@badassness:~$ alltray /home/gail/javaop/Core/JavaOp2.jar/home/gail/javaop/Core/JavaOp2.jar: 3: Syntax error: ")" unexpected
that command doesnt work in start up or running from terminal. sudo makes no difference....
$ cat > execjavaop.sh#!/bin/shjava -jar /path/to/javaop.jar^D$ chmod +x execjavaop.sh$ alltray ./execjavaop.sh
Error, keyboard not connected. Press F1 to continue.
The script, in effect, does the same thing I told him to do, yes?I'm guessing he knows what sudo does but is perhaps misguided as to when it is a viable solution.
Try this:Quote$ cat > execjavaop.sh#!/bin/shjava -jar /path/to/javaop.jar^D$ chmod +x execjavaop.sh$ alltray ./execjavaop.shYour basicly trying to execute the .jar file as you would execute any program. That won't work on most linux systems.And, by the way, sudo only gives you the ability to overcome permission errors. Infact, on a debian system, (Ubuntu is based on debian?) this will make X11 programs unable to connect to the display.
I'd personally do as Joe suggests
You might be right about that, Joe.
I never had that issue, and I often ran 'sudo synaptic' (I think that's what the program was named, the package manager).