CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2000
    Posts
    184

    Hi! I'm new and I have a Q!

    Hi everybody!
    I have recently found a txt file with a java code
    Last edited by balzarini; February 9th, 2021 at 05:57 PM.

  2. #2
    Join Date
    Sep 2000
    Location
    Texas
    Posts
    22

    Re: Hi! I'm new and I have a Q!

    to compile you are going to need the JDK 1.3, you can download it from java.sun.com

    "There are no facts, only interpretations."
    -Friedrich Nietzsche

  3. #3
    Join Date
    Sep 2000
    Location
    Texas
    Posts
    22

    Re: Hi! I'm new and I have a Q!

    yeah it is fine.. java is case sensitive so make sure that the file name matches the class name
    assumming that is right, you compile like this

    javac filename.java

    run it like this (if it is not an applet)

    java filename

    if it is an applet, you must make an HTML file w/ the applet tag

    appletviewer something.html

    check out java.sun.com tutorials section they offer a lot more for people getting started

    "There are no facts, only interpretations."
    -Friedrich Nietzsche

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

Featured