Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

creating a collection of java files

Thread view: 
kiran1785 - 18 Apr 2006 14:47 GMT
i am working on a messenger project. i hv a collection of java files.. i
dont know much of java. can anyone plz tell me how to combine all these
files into a single project?  
i am getting a lot of errors if i try to compile a single file including
other files as in c++
Oliver Wong - 18 Apr 2006 18:09 GMT
>i am working on a messenger project. i hv a collection of java files.. i
> dont know much of java. can anyone plz tell me how to combine all these
> files into a single project?
> i am getting a lot of errors if i try to compile a single file including
> other files as in c++

   Do you have a Java IDE to work with?

   Typically what is done is to put all the java files in the same
directory, or in a group of directories, where these directories act as
packages. However, you'll have to edit the Java files themselves so that
they declare which packages they belong to. If you're mixing C++ files with
Java files, you're either making a mistake, or you're doing something
relatively advanced (or both).

   Out of curiosity, why are you messing around with Java files if you
don't know how to program in Java?

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.