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]
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 ...
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.
so what should i do?
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.
Hope this helps
Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, and if they get mad, you are a mile away and you have their shoes ;-)
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL