#1 java errors upon compile

closed
nobody
5
2001-08-14
2001-08-13
simon turk
No

i'm attempting to compile the pretoria code on an aix
4.3.3.0 box, results are as follows:

$ javac pretoria.java
pretoria.java:62: Class or interface declaration
expected.
/* ALL SOFTWARE IS FREE. HACK, CHOP AND IMPROVE THIS
PROGRAM AT WILL */.

^
pretoria.java:106: Class File not found in type
declaration.
File _file = null ;
^
pretoria.java:140: Class File not found in type
declaration.
_file = new File(indexfile) ;
^
3 errors

what am i doing wrong. i, obviously, am not a java
expert nor a developer... just a pesky oracle dba.

thanks in advance

sandy

Discussion

  • simon turk

    simon turk - 2001-08-14

    Logged In: YES
    user_id=262183

    never mind... i figured it out. there was an errant '.'
    after the */ on line 89 - and - the file pretoria.java
    extracted with a lower case 'p' rather than Pretoria.java.

    thanks

    sandy

     
  • simon turk

    simon turk - 2001-08-14

    Logged In: YES
    user_id=262183

    never mind... i figured it out. there was an errant '.'
    after the */ on line 89 - and - the file pretoria.java
    extracted with a lower case 'p' rather than Pretoria.java.

    thanks

    sandy

     
  • simon turk

    simon turk - 2001-08-14
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks