LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2014, 11:37 AM   #1
linuxmantra
Member
 
Registered: Dec 2013
Posts: 104

Rep: Reputation: Disabled
Install Java Cryptography Extension (JCE) in RHEL6


I want to install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files patch in RHEL6.4, can any one tell me step by step process to install. In my newly build virtual Redhat server, I have Oracle SunJDK 1.7.0.45 and Jboss 6.1.1 EAP installed and are running.

I have download Unlimited JCEP Policy JDK7.zip. Here 7 means it is for Oracle SunJDK1.7 right??

Thank you very much in advance.
 
Old 06-05-2014, 11:01 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by linuxmantra View Post
I want to install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files patch in RHEL6.4, can any one tell me step by step process to install. In my newly build virtual Redhat server, I have Oracle SunJDK 1.7.0.45 and Jboss 6.1.1 EAP installed and are running.

I have download Unlimited JCEP Policy JDK7.zip. Here 7 means it is for Oracle SunJDK1.7 right??

Thank you very much in advance.
...and putting "how to install Java Cryptography Extension Unlimited Strength Jurisdiction Policy Files patch in RHEL6.4" into Google yields:
http://www.oracle.com/technetwork/ja...ion/index.html
http://docs.oracle.com/cd/E13205_01/...n.html#1053703

...and since you're using Red Hat Enterprise, you can use their support for more assistance should you need it, since you're paying for RHEL, right?
 
Old 06-05-2014, 07:06 PM   #3
linuxmantra
Member
 
Registered: Dec 2013
Posts: 104

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
...and putting "how to install Java Cryptography Extension Unlimited Strength Jurisdiction Policy Files patch in RHEL6.4" into Google yields:
http://www.oracle.com/technetwork/ja...ion/index.html
http://docs.oracle.com/cd/E13205_01/...n.html#1053703

...and since you're using Red Hat Enterprise, you can use their support for more assistance should you need it, since you're paying for RHEL, right?
Anyway Thank you very much, I solved the problem. My virtual machine is running RHEL6.4 and application software oracle JDK1.7. So, I used Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7. unziped it and there is two files local_policy.jar and US_export_policy.jar copied to /usr/java/ jdk1.7.0_60/jvm/jre/lib/security. It should be noted that there is previously two jar file of same name (local_policy.jar and US_export_policy.jar) so delete those and put the new jar files.
 
Old 06-05-2014, 07:11 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by linuxmantra View Post
Anyway Thank you very much, I solved the problem. My virtual machine is running RHEL6.4 and application software oracle JDK1.7. So, I used Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7. unziped it and there is two files local_policy.jar and US_export_policy.jar copied to /usr/java/ jdk1.7.0_60/jvm/jre/lib/security. It should be noted that there is previously two jar file of same name (local_policy.jar and US_export_policy.jar) so delete those and put the new jar files.
Glad you solved the problem...but isn't what you posted exactly what the instructions say to do???
 
Old 06-05-2014, 07:31 PM   #5
linuxmantra
Member
 
Registered: Dec 2013
Posts: 104

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Glad you solved the problem...but isn't what you posted exactly what the instructions say to do???
yes... there are bunches of resources but where I was stucked is how to find the path location that I have specified above in my comment. I googled and in some articles they have mentioned the path as /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/security and in some /usr/lib64/jvm/java-1_4_2-ibm-1.4.2_sr10/jre/lib/security. Finally, little hard work I was able to find the path where I need to put those jar files. sorry to say I am not that level of expert . Anyway Thank you very much TBone
 
Old 06-06-2014, 09:43 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by linuxmantra View Post
yes... there are bunches of resources but where I was stucked is how to find the path location that I have specified above in my comment. I googled and in some articles they have mentioned the path as /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/security and in some /usr/lib64/jvm/java-1_4_2-ibm-1.4.2_sr10/jre/lib/security. Finally, little hard work I was able to find the path where I need to put those jar files. sorry to say I am not that level of expert . Anyway Thank you very much TBone
That path location varies from machine to machine, which is why the instructions don't provide it. Running "find / -name <filename>", would tell you where a file is, as would the "locate" command.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding Mozilla java plugin in RHEL6.3 madeinindia.dot Linux - Newbie 1 08-06-2013 02:54 AM
cant get 32 bit java extension to work on 64 bit java on OpenSUSE g_rocket Linux - Software 6 09-07-2012 04:39 PM
Magento Install: dom extension and mcrypt extension mjdb Linux - Newbie 0 02-21-2009 03:58 AM
LXer: Simple Xalan extension functions: Mixing Java with XSLT LXer Syndicated Linux News 0 11-10-2006 10:54 AM
Copying Files having a certain Extension using java MRMadhav Programming 1 06-13-2006 08:30 AM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration