Java Plug-in 1.6.0_10
使用 JRE 版本 1.6.0_10 Java HotSpot(TM) Client VM
用户主目录 = C:\Documents and Settings\Administrator
----------------------------------------------------
c: 清除控制台窗口
f: 终结在结束队列上的对象
g: 垃圾收集
h: 显示此帮助消息
l: 转储类载入程序列表
m: 打印内存使用
o: 触发日志记录
q: 隐藏控制台
r: 重新载入策略配置
s: 转储系统和部署属性
t: 转储线程列表
v: 转储线程堆栈
x: 清除类载入程序高速缓存
0-5: 设置跟踪级别为
----------------------------------------------------

java.net.MalformedURLException: unknown protocol: d
at java.net.URL.(Unknown Source)
at java.net.URL.(Unknown Source)
at sun.plugin.util.GrayBoxPainter.setProgressFilter(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.setupGrayBoxPainter(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.access$500(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
exception: null。
java.lang.IllegalArgumentException: name
at sun.plugin2.applet.Applet2ClassLoader.addJar(Unknown Source)
at sun.plugin2.applet.Applet2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
exception:java.lang.IllegalArgumentException: name

CommentFileSizeAuthor
#4 imgupload.jpg77.22 KBjjoves

Comments

pre911mindset’s picture

Status: Active » Postponed (maintainer needs more info)

Hi, some info if you could:
1) does the applet still come up, or not at all?
2) does the green box show on the first screen and say 'you are good to go'.
3) browser make/version.

Thanks!

jjoves’s picture

Hi pre911mindset,

I'm getting similar (I think) issues. This happens when click on the Image Uploader (batch) link. The orange Java symbol reports the error. Let me know how I can help.

Thanks,
James

load: class org.aaron.image_applet.jre_vers.class not found.
java.lang.ClassNotFoundException: org.aaron.image_applet.jre_vers.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://jovesarts.com/admin/content/imgupload/org/aaron/image_applet/jre_...
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Exception: java.lang.ClassNotFoundException: org.aaron.image_applet.jre_vers.class

pre911mindset’s picture

Hi jjoves, that means that your java version is not good. That is, it is before 1.5. Try upgrading to the latest java at java.sun.com.

Another possibility is that your browser does not have java enabled.

Basically, if you don't see the green window that says you are 'good to go' upon clicking the first screen, the problem is with your browser and not with the module.

jjoves’s picture

StatusFileSize
new77.22 KB

Thanks Pre911mindset,

(build 1.6.0_10-b33) This Java is installed and verified on the Java site per Java is running. On Mozilla, Tools>Options>Content; Java is enabled.

The cache has been cleared and browser restarted. However, the orange java signs appears as before then disappears. See attachment.

Any help would be appreciated. Thanks,
James

pre911mindset’s picture

It looks like it is not finding your jar file. This sometimes happens if you are using clean URLs and we don't compute the absolute path to the module file directly.

Go to the admin/image uploader settings and edit the field under: 'Path to .jar files:'. Put the absolute path (e.g. http://yoursite/drupal/sites/all/imgupload or whatever).

You can test this by typing the path into your browser followed by the jar file name (jre_vers.jar). You should be prompted to save the jar file somewhere.