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
E:\FCServer.java:4: '.' expected
E:\FCServer.java:45: not a statement
[parsing completed 280ms]
:mad: :mad: :mad:
09-16-2004, 07:45 AM
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
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
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.
10-22-2004, 02:25 AM
so what should i do?
10-22-2004, 05:37 PM
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.