Base64 classes in an EJB module with Netbeans

Strange.

com.sun.org.apache.xml.internal.security.utils.Base64 is a part of the base Java 1.6 runtime (it’s found in rt.jar). But Netbeans throws errors on it unless you include the METRO 2.0 jar file as a library to compile against (you don’t need to package it).

Or at least that’s the case on Windows. On OS X it just works.

What a waste of an evening

Leave a Reply

1 thought on “Base64 classes in an EJB module with Netbeans”

  1. i m using iaik-me library to for encryption in j2me… i cant find out how to get public key back after converting it into byte(encoding)…if any one know please help me…
    regards.: