Solved

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

Posted on 2011-03-01
11
6,674 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:dippatel
  • 6
  • 5
11 Comments
 
LVL 20

Expert Comment

by:woolnoir
ID: 35007482
i assume you're running it from that location with a ./keytool ?
0
 
LVL 20

Expert Comment

by:woolnoir
ID: 35007485
can you verify if the file is actually there with a ls /usr/java/jdk1.6.0_24/bin/key*
0
 

Author Comment

by:dippatel
ID: 35009128
There was Problem of Environment variable setting..got the solution
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 20

Expert Comment

by:woolnoir
ID: 35009139
yep thought as much. For the record ./keytool would have worked too :)
0
 
LVL 20

Expert Comment

by:woolnoir
ID: 35009149
if your env isnt set correctly to include bin paths you need to be specific with file names :)
0
 

Author Comment

by:dippatel
ID: 35009186

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
 
LVL 20

Expert Comment

by:woolnoir
ID: 35009209
what error ?
0
 

Author Comment

by:dippatel
ID: 35009222
0
 

Author Comment

by:dippatel
ID: 35009230
Some java related error
0
 
LVL 20

Accepted Solution

by:
woolnoir earned 500 total points
ID: 35009259
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
 

Author Closing Comment

by:dippatel
ID: 35041700
I got solution myself
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question