Topic: applet(必须安装java运行环境?是个什么样的运行机制?)

  Print this page

1.applet(必须安装java运行环境?是个什么样的运行机制?) Copy to clipboard
Posted by: wang_jing8888
Posted on: 2005-07-05 17:40

请使用准确的文字描述作为标题

从书上看到applet是通过web浏览器解释执行的。可是,我试过了,如果没有安装java的运行环境,applet程序是不能执行的。这是为什么?是不是必须要在服务器端安装java运行环境才可以。applet到底是个什么样的运行机制?请各位指点

2.Re:applet(必须安装java运行环境?是个什么样的运行机制?) [Re: wang_jing8888] Copy to clipboard
Posted by: drmcer
Posted on: 2005-07-06 01:40

首先需要明确的一点是Applet不是由服务器端来执行的, 他是从服务器端下载类文件(可能位于JAR包中)到本地, 并由本地的Web浏览器通过用以执行Applet的Plug-in插件来执行Applet. 此插件的启动会连带着启动JVM, 因此不安装JVM是不行的, 至少要安装JRE才能在Web浏览器中运行Applet. 所谓的解释执行并不是由Web浏览来完成, 而是由JVM(.class文件肯定都是由JVM来解释的), Web浏览器只是起到了一个发起这一系列动作的功能.

3.Re:applet(必须安装java运行环境?是个什么样的运行机制?) [Re: wang_jing8888] Copy to clipboard
Posted by: ranchgirl
Posted on: 2005-07-06 02:05

wang_jing8888 wrote:
从书上看到applet是通过web浏览器解释执行的。可是,我试过了,如果没有安装java的运行环境,applet程序是不能执行的。这是为什么?是不是必须要在服务器端安装java运行环境才可以。applet到底是个什么样的运行机制?请各位指点


drmcer,
in principle, you're right; in practice, you're wrong!

wang_jing8888:
What system on your machine? I believe Windows has a default JVM. Applet is supposed to work on your machine without installing anything. Just imagine an office secretary, or a bartender goes to Internet, he/she needs to install JVM? Obviously, they don't know howto, and they don't need to!!!!

You must changed something on your machine to make applet not work.

4.Re:applet(必须安装java运行环境?是个什么样的运行机制?) [Re: wang_jing8888] Copy to clipboard
Posted by: drmcer
Posted on: 2005-07-06 02:25

是啊, 我说的就是原理, 不管你的Applet执行环境是从网上与Applet一起现下载的还是本地安装的JRE, 他们不都是以这种基本方式来执行Applet的吗??? 难道不是吗?

那 gongshi 你能说说, 你的办法该怎么实现? 这就算是我提的一个帖子, 你回复一下吧, 我在此万分感激你了.

5.Re:applet(必须安装java运行环境?是个什么样的运行机制?) [Re: drmcer] Copy to clipboard
Posted by: ranchgirl
Posted on: 2005-07-06 03:03

drmcer wrote:
那 gongshi 你能说说, 你的办法该怎么实现? 这就算是我提的一个帖子, 你回复一下吧, 我在此万分感激你了.


Hey, drmcer, my old friend in ChinaJavaWorld!

You really don't need to do anything. Mr. Bill Gates or Microsoft did all the work for us. Smile

Applet should work without doing anything unless Mr. Bill Gates or Microsoft did something recently which I'm not aware of.

6.Re:applet(必须安装java运行环境?是个什么样的运行机制?) [Re: wang_jing8888] Copy to clipboard
Posted by: wang_jing8888
Posted on: 2005-07-06 09:48

谢谢各位的指教。我的系统是win2000,没有安装jvm,看来是执行不了的了。

7.Re:applet(必须安装java运行环境?是个什么样的运行机制?) [Re: wang_jing8888] Copy to clipboard
Posted by: ranchgirl
Posted on: 2005-07-06 12:41

I know w2k definitely had Java jvm. You must did something wrong on your machine.

Go to your system32, you should find a java directory. It is an MS JVM, which was better than Sun's JVM then. It was strange, but true, even you might not believe me.

8.Re:applet(必须安装java运行环境?是个什么样的运行机制?) [Re: gongshi] Copy to clipboard
Posted by: szaba
Posted on: 2005-07-08 21:46

gongshi wrote:
I know w2k definitely had Java jvm. You must did something wrong on your machine.

Go to your system32, you should find a java directory. It is an MS JVM, which was better than Sun's JVM then. It was strange, but true, even you might not believe me.

不是吧?!IE 6是不支持JAVA APPLET的吧?

9.Re:applet(必须安装java运行环境?是个什么样的运行机制?) [Re: szaba] Copy to clipboard
Posted by: ranchgirl
Posted on: 2005-07-08 22:35

szaba wrote:
不是吧?!IE 6是不支持JAVA APPLET的吧?


Have you checked?

Do you really think the smart Microsoft, who made the most of the money, dare to disable the applets from the entire world? Let people to use browsers from their competitors!

Teachers from all over the world are using applets to teacher their students.
Such as:
http://s.home.cern.ch/s/sticklan/www/Collider/
http://www.pa.uky.edu/~phy211/VecArith/
http://pdg.lbl.gov/~aerzber/aps_electricity.html

Students are the future!!!

10.Re:applet(必须安装java运行环境?是个什么样的运行机制?) [Re: gongshi] Copy to clipboard
Posted by: szaba
Posted on: 2005-07-09 07:01

我试过的啊 的确是不行啊

11.Re:applet(必须安装java运行环境?是个什么样的运行机制?) [Re: wang_jing8888] Copy to clipboard
Posted by: dszch
Posted on: 2005-07-10 12:22

楼上各位朋友说了半天,到底怎样才能让自己的机器正常运行applet呀,我也遇到了楼主同样的问题?向高手请教了?
先谢过了!

12.Re:applet(必须安装java运行环境?是个什么样的运行机制?) [Re: wang_jing8888] Copy to clipboard
Posted by: 依临
Posted on: 2005-07-11 15:37

IE.6以前版本是支持的,现在IE.6不支持APPLET!如果你在Windows 上运行,它会自动提示你去SUN网站下插件!
在INTERNET的选项中选择高级选项。在HTTP设置中在JAVA(sun)
在前面打钩,重启电脑就可以了!

13.Re:applet(必须安装java运行环境?是个什么样的运行机制?) [Re: 依临] Copy to clipboard
Posted by: ranchgirl
Posted on: 2005-07-14 11:48

依临 wrote:
IE.6以前版本是支持的,现在IE.6不支持APPLET!如果你在Windows 上运行,它会自动提示你去SUN网站下插件!
在INTERNET的选项中选择高级选项。在HTTP设置中在JAVA(sun)
在前面打钩,重启电脑就可以了!


Very good! Standardized the process like pdf or flash!

14.Re:applet(必须安装java运行环境?是个什么样的运行机制?) [Re: wang_jing8888] Copy to clipboard
Posted by: ww1ww1
Posted on: 2005-07-14 21:33

误导。。。

(缩略图,点击图片链接看原图)


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923