|
-
Jul 18th, 2000, 01:59 PM
#1
I was reading "Teach yourself Java 1.2 in 24 hours"
and it said that java was a DOS language..
and it shows some examples of running DOS programs....
isnt java an applet driven language?
or am I just utterly confused????
-
Jul 18th, 2000, 02:06 PM
#2
Hyperactive Member
Applets are a special type of Java program. They are limitied in what they can do and you do somethings differently. But you can also use Java to create regular applications that can be command line or graphical.
"People who think they know everything are a great annoyance to those of us who do."
-
Jul 18th, 2000, 02:30 PM
#3
Addicted Member
To ease the confusion...
Java is intended as a universal language, but yet over the years there have been compilers made to compile java code into a native executable, like VJ++ for example can compile java code into a windows app, but the intention of java whether a java app, or java applets, as long as the machine, no matter which operating system, no matter what kind of CPU , as long as it's running a java virtual machine, you can run your java code on that machine, following the basic rules(most of which are enforced in the compiler) for starters you cannot have direct access to the user's file system or memory, and you cannot alter anything outside of the virtual machine, they're is more detailed restrictions, but the basic idea of java is to Compile Once, run anywhere.
-
Jul 18th, 2000, 03:30 PM
#4
Hyperactive Member
Acually when you are running a Java application their are not as many restrictions as an applet. A Java application can read and write files and make network connections just like anyother program. An applet can get more access to the system if you sign it.
"People who think they know everything are a great annoyance to those of us who do."
-
Jul 21st, 2000, 03:00 PM
#5
Monday Morning Lunatic
With Java 1.2 and above (at least) you can set specific permissions for applications from different sources as to what they can/can't do.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|