On Mon, 6 Sep 2004 11:23:51 -0700 Mike Chandler <[EMAIL PROTECTED]> wrote:
> On Monday 06 September 2004 11:10 am, Jacob S. wrote: > > > If 'java -jar JBidWatcher-0.9.3.1.jar' works when run from the > > directory the .jar file is located in, I would say the next step is > > to test your shell script from the command line. See what errors it > > gives, copy/paste them here and we can work from there. > > > > (This assumes that the errors you listed for trying to > > JBidWatcher...jar earlier was because you weren't in the same > > directory as JBidWatcher at the time. If you were in the directory > > and it gave those errors, we'll need to do more troubleshooting > > before we get to the shell script.) > > > > HTH, > > Jacob > > Thanks, if it helps, all this is being done in Debian Testing, using > KDE (konqueror) > > I go to the directory where JBidWatcher-0.9.3.1.jar is located. > I open a terminal, type > ./jbidwatcher.sh > ...and it works! > > On the other hand, if I go to "tools > execute shell command" then > type./jbidwatcher.sh > I will get this error: > ./jbidwatcher.sh: line 4: java: command not found Ok, I think we're getting somewhere then. From a terminal, type 'whereis java'. It should be something like /usr/local/java/java. Replace 'java' in jbidwatcher.sh with the full path to the java binary '/usr/local/java/java' (or whatever the path is on your system. Just to make sure I'm explaining this good enough, this should not affect the 'cd /...' line in jbidwatcher.sh, just the line that tries to execute the .jar file. Now go to "tools > execute shell command" again and tell us what errors it gives, if any. HTH, Jacob -- GnuPG Key: 1024D/16377135 Random .signature #14: Linux, the way to get rid of boot viruses.
pgp7mnYwypTgS.pgp
Description: PGP signature