- 浏览: 11661 次
- 性别:
- 来自: 太原
最新评论
-
wjmgyn:
Unrestricted.jar 在哪下呢,找了很长时间没有找 ...
IBM JDK des加密包问题
文章列表
问题:java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.initialize(J9VMInternals.java:216)
at javax.crypto.SecretKeyFactory.getInstance(Unknown Source)
at aa.DESEncrypt.doEncrypt(Unknown Source)
at aa.util.SecurityUtil.getH8Byte(Unknown Source)
at aa.AAFilter.doFilter(Unknown Source) ...
系统环境:
Oracle 10.2 字符集SIMPLIFIED CHINESE_CHINA.ZHS16GBK
jvm 字符集:GBK
该程序在SUN的JRE下运行正常,在IBM JRE下运行结果不正确“”显示为“?”
/**
* Create on 2010-7-14
* Copyright 2009 startech. All rights reserved.
*/
package com;
import java.nio.charset.Charset;
import java.sql.Connection;
import java.sql.D ...