On Mon, 5 Oct 1998 19:16:27 -0400 (EDT), Danny Lu wrote:
>Hi,
> Can anyone tell me does Java applications has to have .class
>in order for it be to executed in Linux?
??? Java does not directly need .class to run. In fact, to use the
java binary support in the Linux kernal, you may want to not have .class
as the name of the main() class.
However, standard Java will load classes from <classname>.class files.
(Or the equiv in jar/zip files)
This means that when you do:
java Foo
You are telling Java to load Foo.class.
Same for if a class called Bar is used, the JVM will look for it as
Bar.class. (Well, the default class loader will do that and if it is
already loaded, it will not need to look again)
Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz