I don't think it is a problem with class file size. I think it might have something to do with the package name for your applet. When you write your applet, do you place a statement at the begining as follows:
package xxx.yyy;
If that is the case, you need to place your class files at xxx/yyy directory below your current directory.Also, pay attention to the file cases of your class files, for example:
If you declare your classe as: public class VRMLRender
you classe file name must be: VRMLRender.class. vRMLRender.class will not work.
So in your HTML page that loads the applet, you need to make sure that the file cases are correct.
package xxx.yyy;
If that is the case, you need to place your class files at xxx/yyy directory below your current directory.Also, pay attention to the file cases of your class files, for example:
If you declare your classe as: public class VRMLRender
you classe file name must be: VRMLRender.class. vRMLRender.class will not work.
So in your HTML page that loads the applet, you need to make sure that the file cases are correct.
解决方案 »
- java绘图的一个小问题
- [请教]哈希表本身除了要存储h(k)对应的value以外,也要存储key本身?
- 我的java程序打成jar包后 在liunx后台运行,有时候无缘无故就自动结束了, log4j里面也没异常日志
- java窗口形状怎么改变
- 我做了个编译原理分析器,出现一个怪问题,高手请进来帮帮我解决!!!!!
- 如何监控jvm的对内存使用情况?
- applet中怎么弹出广告IE窗口?
- 怎样访问导入包中的非public类?急呀!
- 在线等 什么是 Java TM
- 一个初级的java问题
- 为什么我把class文件都用jar.exe打包成jar文件,双击文件但不能运行?
- 有关jbuilder的小儿科问题
首先,我的applet中没有包含有package xxx.yyy类似的语句,还有在html文件中类的名称也是正确的。
在我的applet文件中,大部分内容是用来描述一个三维物体的点坐标、以及它们之间坐标索引连接的,我只是通过改变点的个数来改变文件的大小,所以上边的问题应该都不存在的,而且我的类无论大小都编译通过了,可就是碰到了大尺的class文件找不到的情况。
敢情各位大虾给予指导,不胜感激!