BDK的安装问题

.BDK的安装问题  Copy to clipboard
Posted by: fbbobo
Posted on: 2003-08-13 10:58

BDK的安装问题
下在了BDK1。1可是运行的时候提示:java VM错误,请重新安装或者更换JVM
我用的是j2sdk1.4.0beta3,这是怎么回事?JVM怎么更换或者重装啊! 

--------------------------------------------------------------------------------
2.Re:BDK的安装问题 [Re: fbbobo] Copy to clipboard
Posted by: cn
Posted on: 2003-08-14 00:16

所能想到的三种可能:
1.When I run the BeanBox under J2SE v 1.4 I get an exception. What's going on here? http://java.sun.com/products/javabeans/faq/faq.help.html#Q28
There were some changes made to the Introspector in order for EventSets created by the Intospector to conform to the JavaBeans specification. See bugs 4402159 and 4407239 for details. Unfortunately, the ExplicitButtonBeanInfo class that shipped with the BDK do not conform to the JavaBeans specification and are rejected. This is not as bad as it seems. Other than the exeption being thrown at startup and the failure to load the buttons.jar file, the rest of the BeanBox will work fine.

As a work around, you may want to go into the sunw.demo.buttons.ExplicitBeanInfo.getEventSetDescriptors() source file, change the first actionPerformed string in the first EventSetDescriptor to be action and recompile the class. The source file for the demo beans used in the BeanBox is in <BDK_INSTALL_DIR>demo/sunw/demo/buttons/ExplicitButtonBeanInfo.java. At around line 47, change:


 EventSetDescriptor push = new EventSetDescriptor(beanClass,                    "actionPerformed",            java.awt.event.ActionListener.class,            "actionPerformed");

to:

 EventSetDescriptor push = new EventSetDescriptor(beanClass,                    "action",            java.awt.event.ActionListener.class,            "actionPerformed");

2.绝对不要把BDK安装在文件名包含空格的目录中,也就是说不能安装在提供的缺省目录中
3.你可能用的是WIN平台,如果是,请检查缺省的JVM是SUN的1.4的版本还是微软的版本,如果是微软的版本,请换为SUN的版本,因为BDK 1.1 - April '99 要求JDK1.2+的运行环境
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值