To all


JavaScript and Java
JavaScript and Java are similar in some ways but fundamentally different in
others. The JavaScript language resembles Java but does not have Java's
static typing and strong type checking. JavaScript supports most Java
expression syntax and basic control-flow constructs. In contrast to Java's
compile-time system of classes built by declarations, JavaScript supports a
runtime system based on a small number of data types representing numeric,
Boolean, and string values. JavaScript has a simple, instance-based object
model that still provides significant capabilities. JavaScript also supports
functions without any special declarative requirements. Functions can be
properties of objects, executing as loosely typed methods.
Java is an object-oriented programming language designed for fast execution
and type safety. Type safety means, for instance, that you can't cast a Java
integer into an object reference or access private memory by corrupting Java
bytecodes. Java's object-oriented model means that programs consist
exclusively of classes and their methods. Java's class inheritance and
strong typing generally require tightly coupled object hierarchies. These
requirements make Java programming more complex than JavaScript authoring.

In contrast, JavaScript descends in spirit from a line of smaller,
dynamically typed languages like HyperTalk and dBASE. These scripting
languages offer programming tools to a much wider audience because of their
easier syntax, specialized built-in functionality, and minimal requirements
for object creation.

 JavaScript\ Java
Interpreted (not compiled) by client.\
 Compiled bytecodes downloaded from server, executed on client.

Object-based. Uses built-in, extensible objects, but no classes or
inheritance.\
 Object-oriented. Applets consist of object classes with inheritance.

Code integrated with, and embedded in, HTML. \
 Applets distinct from HTML (accessed from HTML pages).

Variable data types not declared (loose typing).\
 Variable data types must be declared (strong typing).

Dynamic binding. Object references checked at runtime.\
 Static binding. Object references must exist at compile-time.

Cannot automatically write to hard disk.\
 Cannot automatically write to hard disk.


Java script has no correlation to what java package/s you have installed on
your system. It is based In the abilities of the browser which you are using
and in cases must be enabled in said browser and even then some instances
will require secondary attributes, such as SSL, and others simply will not
perform at all with said browser, be it IE, Netcrap, Mozilla, or konqueror.


   Charles




Forever never goes beyond tomorrow.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of bascule
Sent: Sunday, December 24, 2000 7:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [expert] How does one get konqueror to work with java?


it has never worked for me either, not with kaffe, blackdown or sun, i have
tried a few versions as well, it would be interesting to know what people
have or haven't done on their machines who have java working properly

bascule

On Monday 25 December 2000 12:31 am, you wrote:
> On Saturday 23 December 2000 04:19 pm, you wrote:
> > All you have to do to get Konqueror to execute javascript embeded in an
> > HTML document is enable it in the preferences. That's all there is to
it.
>
> It doesn't work on this system using JDK-1.2.2 or JDK-1.1.8



Reply via email to