View Single Post
Posts: 42 | Thanked: 2 times | Joined on Dec 2009
#30
Originally Posted by Dak View Post
Next, you'll need to install a link to the main java program, so that when you open an xterm and type "java" it knows what you're talking about.

...

I'm working on registering the ".jar" extension so that you can just dbl-click them to run them....I thought I had it figured out, but it's not working yet.
Hmm, I did as you instructed, but when I open xterm and type "sudo gainroot" followed by "java -jar test.jar" I get:

/bin/sh: java: not found

or did I mess something up.

(when I try "java" without "sudo gainroot" I get "permission denied" but that is to be expected?)

Even if I go directly to /home/opt/java/ejre1.6.0_10/bin and type "java" I get "/bin.sh: java: not found"

Last edited by Xizor; 2009-12-17 at 18:09.