Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2008

Tip: Looking for answers? Try searching our database.

package com.ibm.security.x509 does not exist

Thread view: 
wong_powah@yahoo.ca - 30 Jan 2008 20:42 GMT
How to fix this compile error with jdk 1.5.0_14 on windows 2000:
AsnName.java:144: package com.ibm.security.x509 does not exist
               encoding = (new
com.ibm.security.x509.X500Name(mName)).getEncoded();
...
Roedy Green - 30 Jan 2008 21:15 GMT
>How to fix this compile error with jdk 1.5.0_14 on windows 2000:
>AsnName.java:144: package com.ibm.security.x509 does not exist
>                encoding = (new
>com.ibm.security.x509.X500Name(mName)).getEncoded();
>...

That sounds like a JCE class.  In 1.4+ it comes with the JDK.

Normally you don't use vendor specific classes.  You get at them via
the generic interfaces with strings to define which implementation you
want.

See http://mindprod.com/jgloss/jce.html

However, the classes you want probably live in

F:\Program Files\Java\jdk1.6.0_04\jre\lib\jce.jar

Just put the jar on your ide's library path.

Signature

Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com

wong_powah@yahoo.ca - 30 Jan 2008 22:14 GMT
On Jan 30, 4:15 pm, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> On Wed, 30 Jan 2008 12:42:33 -0800 (PST), wong_po...@yahoo.ca wrote,
> quoted or indirectly quoted someone who said :
[quoted text clipped - 22 lines]
> Roedy Green, Canadian Mind Products
> The Java Glossary,http://mindprod.com

I still have the same error even though CLASSPATH is set:
CLASSPATH=C:\Program Files\Java\jre1.5.0_14\lib\jce.jar;.
Arne Vajhøj - 31 Jan 2008 01:55 GMT
> How to fix this compile error with jdk 1.5.0_14 on windows 2000:
> AsnName.java:144: package com.ibm.security.x509 does not exist
>                 encoding = (new
> com.ibm.security.x509.X500Name(mName)).getEncoded();

Do you have some code that requires IBM Java and
try to build with SUN Java ?

Arne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.