keytool: command not found - how to resolve this error on Linux

I am here /usr/java/jdk1.6.0_24/bin and try to run the keytool command..But giving me this error keytool: command not found..please help
dippatelAsked:
Who is Participating?
 
woolnoirConnect With a Mentor Commented:
you might want to consider closing this post and asking a new question in the programming section. Not all people (me included) who can help with path issues in linux (original question) are qualified to assist with JAVA related problems.
0
 
woolnoirCommented:
i assume you're running it from that location with a ./keytool ?
0
 
woolnoirCommented:
can you verify if the file is actually there with a ls /usr/java/jdk1.6.0_24/bin/key*
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
dippatelAuthor Commented:
There was Problem of Environment variable setting..got the solution
0
 
woolnoirCommented:
yep thought as much. For the record ./keytool would have worked too :)
0
 
woolnoirCommented:
if your env isnt set correctly to include bin paths you need to be specific with file names :)
0
 
dippatelAuthor Commented:

I have signed one jar file on my local...then i have also signed Jar file on my server..

on my local
http://localhost/DS/test1Print.php?url=http://localhost/DS/include/html2ps/out/3110245_Invoice.pdf
this URL is working fine..

While i am trying this my server URL
https://fuse5.gofuse5.com/test1Print.php?url=http://fuse5.gofuse5.com/include/html2ps/out/3110439_Invoice.pdf
that is giving me error...

Can you please help me out..
0
 
woolnoirCommented:
what error ?
0
 
dippatelAuthor Commented:
0
 
dippatelAuthor Commented:
Some java related error
0
 
dippatelAuthor Commented:
I got solution myself
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.