i have a little experience with java however this is my first time trying to compile. heres my problem everytime i try to compile
using Frontend plus & from dos i get this error:
Trying to compile FCServer.java
[parsing started E:\FCServer.java]
E:\FCServer.java:3: '.' expected
import ae;
^
E:\FCServer.java:4: '.' expected
import an;
^
E:\FCServer.java:45: not a statement
classnotfoundexception;
^
[parsing completed 280ms]
[total 521ms]
3 errors
Finished...
:mad: :mad: :mad:
09-16-2004, 07:45 AM
mnuttall
need to see your class file.
But it looks like you've imported classes and meant to import packages.
i.e import an.*;
It would better to do
import an.SomeClassName;
I use and IDE so I haven't seen messages like that in awhile :)
Check out Eclipse or Netbeans or ...
10-04-2004, 09:34 AM
NarayanaBuddepu
Everything is fine. You need to make sure that the class names you use are according to the coding standards and their exact names. This is with regarding to classnotfoundexception.
It must be used as ClassNotFoundException.
Second thing is that for new Java developers the frequent problem they face is classpath. If you set the classpath to current directory then it doesnt show the error you got.
This is FYI.
-Narayana...
10-22-2004, 02:25 AM
Gabaryah
so what should i do?
i'm clueless
10-22-2004, 05:37 PM
JGRobinson
Hi,
Change import ae; to import ae.*;
Change import an; to import an.*;
Change classnotfoundexception; to ClassNotFoundException;
and see if it compiles, if it doesn't please post the source code and we will try and help further.