Results 1 to 2 of 2

Thread: JDK1.3 Question

  1. #1

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Ridgefield Park, NJ
    I just got this JDK1.3 from my friend. And I wrote a small app and saved it in notepad. Under HelloWorldApp.Java
    When i goto compile it C:\JDK1.3\Bin javac -sourcepath HelloWorldApp.Java dos says nothing and just puts up the current directory. The help file says "If the compilation succeeds, the compiler creates a file named HelloWorldApp.class in the same directory (folder) as the Java source file ( But there is no class file to be found. Can anyone show me a simple example of how to compile something.

  2. #2

    Thumbs up

    You type the bold commands...

    From the directory "TheDir" where is:

    You should then see HelloWorldApp.class after this compiles.

    Then use "java.exe" without the ".class" extension.
    C:\TheDir>c:\jdk1.3\bin\java HelloWorldApp

    I noticed that "-sourcepath" didn't work correctly in 1.2

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