Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: learning progamming

  1. #11
    Senior Member
    Join Date
    Aug 2002
    Posts
    113
    I will recommend to start learning C++ first. I learned that language and after mastering C++ it took me no time to play with Java. Once you'll learn to play with any language really well then it's all about the syntax to work in other languages. The concepts and logic always remain the same.....

    The other way approach is good as well that you learn Java first. Java is an interesting language. You'll really enjoy playing with it...
    Beware Clarity! A person talking to you in clear language is clearly using obsolete ideas.

  2. #12
    Junior Member
    Join Date
    May 2003
    Posts
    1
    I downloaded some java file and i dont know where to put it or how to open it

  3. #13
    Senior Member
    Join Date
    Apr 2003
    Posts
    103
    I downloaded some java file and i dont know where to put it or how to open it
    You can save the files anywhere on your disk. You must have a Java Runtime Environment (jre) installed as a minimum. You could get one from http://java.sun.com Get the latest version of course. If you plan on doing any development you will probably want J2SE http://java.sun.com/j2se/1.4.1/download.html

    java must be in the environment path as a minimum.

    To run a program.
    Java [program name]

    example
    C:\>java javaProgram



    Where javaProgram is on your disk as javaProgram.class. Don’t use the “.class” extension when you try to run the program.

    Files ending with ".class" are the compiled Java programs where as files ending with ".java" are the source files.
    \"Trying to outsmart a compiler defeats much of the purpose of using one.\" — Kernighan & Plauger, The Elements of Programming Style.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •