Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > package com.ibm.security.x509 does not exist

Reply
Thread Tools

package com.ibm.security.x509 does not exist

 
 
wong_powah@yahoo.ca
Guest
Posts: n/a
 
      01-30-2008
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( );
....
 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      01-30-2008
On Wed, 30 Jan 2008 12:42:33 -0800 (PST), http://www.velocityreviews.com/forums/(E-Mail Removed) wrote,
quoted or indirectly quoted someone who said :

>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.


--
Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com
 
Reply With Quote
 
 
 
 
wong_powah@yahoo.ca
Guest
Posts: n/a
 
      01-30-2008
On Jan 30, 4:15 pm, Roedy Green <(E-Mail Removed)>
wrote:
> On Wed, 30 Jan 2008 12:42:33 -0800 (PST), (E-Mail Removed) wrote,
> quoted or indirectly quoted someone who said :
>
> >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.
>
> Seehttp://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.
>
> --
> 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;.
 
Reply With Quote
 
Arne Vajh°j
Guest
Posts: n/a
 
      01-31-2008
(E-Mail Removed) wrote:
> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help:package javax.servlet.http does not exist SAMBA Java 2 11-09-2004 10:45 AM
Does my object exist? So why its HWND doesn't exist? That's a question... (CMonthCalCtrl control) LT C++ 7 07-25-2004 07:08 PM
package does not exist error Nachiketh Java 1 04-17-2004 11:46 PM
JSP: problem with import ("package does not exist") Laurent Leconte Java 2 10-14-2003 10:57 AM
Re: package does not exist error sufia Java 0 07-07-2003 05:02 PM



Advertisments