Results 1 to 5 of 5

Thread: Java for DOS?

  1. #1
    Guest
    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????

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    292
    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."

  3. #3
    Addicted Member
    Join Date
    May 2000
    Location
    Grand Rapids, MI
    Posts
    231

    Talking 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.
    -Karl Blessing aka kb244{fastHACK}
    [email protected]

  4. #4
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    292
    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."

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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
  •  



Click Here to Expand Forum to Full Width