Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2007
    Location
    London
    Posts
    2,527

    Unanswered: I've fallen at the first hurdle

    I thought I'd try and learn a bit of Java and installed the Sun JDK. I copied the hello world program. I was kind of hoping for a nice tool with windows to edit your program in and a window to see the output etc but it appears I'm stuck with DOS. Can't get past the following error:
    Code:
     Directory of C:\Java
    17/06/2009  11:38             1,910 HelloWorldApp.java
    
    C:\Java>javac HelloWorldApp.java
    'javac' is not recognized as an internal or external command,
    operable program or batch file.
    
    C:\Java>C:\Program*Files\Java\jdk1.6.0_14\bin\javac  HelloWorldApp.java
    The filename, directory name, or volume label syntax is incorrect.
    
    C:\Java>echo %CLASSPATH%
    .;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip
    Any clues?

    Is it the path variable ( javac.exe seems to be in C:\Program Files\Java\jdk1.6.0_14\bin)?

    Is there a reasonably fast grid class available - I want to create an application a bit like an extended calendar (for hotel booking) where you can drag bookings around etc.

    Thanks for reading. I assume I've missed something down the line as this appears quite a tough way of writing code.

    Mike

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    try the netbeans of Eclipse IDE's I found they made the Java world a little less alien
    I'd rather be riding on the Tiger 800 or the Norton

  3. #3
    Join Date
    Jun 2007
    Location
    London
    Posts
    2,527
    That was a lot easier!

    Cheers Mark

    Now to find a decent grid class ...

    Mike

  4. #4
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    have you tried looking at a table in swing? jTable springs to mind
    I'd rather be riding on the Tiger 800 or the Norton

Posting Permissions

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