无法读取 AppletViewer 属性文件 - Applet [英] Can't read AppletViewer properties file - Applet

查看:22
本文介绍了无法读取 AppletViewer 属性文件 - Applet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个 Java 小程序并编译了它.作为编译的结果,它生成了一个 class 文件.但是,它在使用 appletviewer 命令通过命令提示符运行小程序时显示以下警告消息.

I created a Java applet program and compiled it. As a result of the compilation, it generated a class file. But, it showed the following warning message while running the applet with the command prompt using the appletviewer command.

D:\Applets\Applets>appletviewer FirstApplet.java

Warning: Can't read AppletViewer properties file: C:eswaran_s.VMSPL\.hotjava\properties Using defaults.

当我再次运行这个命令时,它没有显示警告信息,但小程序没有运行.

When I run this command once again, it does not show the warning message, but the applet is not running.

我该如何解决这个问题?

How can I solve this issue?

推荐答案

我对这个问题的解决方案是简单地(在 Eclipse 中)转到运行-> 运行配置...并打开我将 Java SE 设置为的 JRE 卡较新的安装版本.(就我而言,从 SE 6 到 SE 7)

My solution to this problem was to simply (in Eclipse) go to Run-> Run configurations... and open the JRE card where I set Java SE to a newer installed version. (in my case from SE 6 to SE 7)

这篇关于无法读取 AppletViewer 属性文件 - Applet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆