473,387 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Java Newbies inherit a big Java project

Hi there,

My friend and I (both completely new to Java, but programmers in other languages) have inherited a large Java project and we are not sure where to start on it.

The author has passed on all source files to us, and some basic instructions involving Maven, Eclipse, etc. etc.. We think we've managed to get everything installed as he suggested, and the project loaded into Eclipse - we're just not really sure where to go from here - or even how to simply just build the version that has been passed to us (we were advised to "look at the Javadoc" too ?)

We've had a look at a few online tutorials on Eclipse, but we have been advised to use specific versions of Maven, Eclipse etc. and it all seems to be a bit different. Should it all just work in the latest versions anyway or are the later versions not always backwards compatible ?

Any help in getting started with this would be greatly appreciated.

Many thanks in advance.
Sep 28 '07 #1
1 1857
Nepomuk
3,112 Expert 2GB
Hi there,

My friend and I (both completely new to Java, but programmers in other languages) have inherited a large Java project and we are not sure where to start on it.

The author has passed on all source files to us, and some basic instructions involving Maven, Eclipse, etc. etc.. We think we've managed to get everything installed as he suggested, and the project loaded into Eclipse - we're just not really sure where to go from here - or even how to simply just build the version that has been passed to us (we were advised to "look at the Javadoc" too ?)

We've had a look at a few online tutorials on Eclipse, but we have been advised to use specific versions of Maven, Eclipse etc. and it all seems to be a bit different. Should it all just work in the latest versions anyway or are the later versions not always backwards compatible ?

Any help in getting started with this would be greatly appreciated.

Many thanks in advance.
Hi SquatterMadras! Welcome to TSDN!

That situation sounds quite overwhelming (new language, new IDE, big project, lot's of finished code), so it's good that you have found your way here.

The Tip about JavaDoc is good - there should be comments starting with /** and ending with */ in the code - those are comments, that are packed to a JavaDoc file. Somewhere in your path (normally in a directory called "doc" or similar) there should be a few html files, including "allclasses-frame.html", "allclasses-noframe.html" and "index.html". Open the index.html and there you have your JavaDoc.

The JavaDoc is constructed in a standard way, that you can also find with the Java API - a great collection of information about the classes available in Standard Java. (You should either bookmark or download it - check the Java Articles Index for a download link and more useful links.)

Normally, Eclipse should be set to build your project automatically. Maven is used to pack it together (search for Maven tutorials for more information). If you want to run your project, you have to find a Class with a public static void main method - that is your main method. Left click on it, choose "Run As -> Java Application" (or whatever it is) and it should start up.

Backwards compatibility shouldn't be an issue, as Eclipse is only an IDE - it should be able to cope with any .java file. I would guess, so should Maven. I'd always work with the latest version, if there's no good reason not to do so, as it normally offers most options.

There, I can't think of any other tips right now. I hope that those I gave can help you.

Greetings,
Nepomuk
Sep 28 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

73
by: RobertMaas | last post by:
After many years of using LISP, I'm taking a class in Java and finding the two roughly comparable in some ways and very different in other ways. Each has a decent size library of useful utilities...
114
by: Maurice LING | last post by:
This may be a dumb thing to ask, but besides the penalty for dynamic typing, is there any other real reasons that Python is slower than Java? maurice
133
by: Gaurav | last post by:
http://www.sys-con.com/story/print.cfm?storyid=45250 Any comments? Thanks Gaurav
12
by: Mark Fink | last post by:
I wrote a Jython class that inherits from a Java class and (thats the plan) overrides one method. Everything should stay the same. If I run this nothing happens whereas if I run the Java class it...
20
by: mayershome | last post by:
Hi! I'dont have any experiences in programming... what language should I start learning???? C? C++ or Java`? greetz
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
15
by: himilecyclist | last post by:
My State government organization has written a PHP/MySQL application which has been in production for about 6 months and has been highly successful. We are now embarking on a similar database...
7
helpwithcode
by: helpwithcode | last post by:
Hi people, I am just learning java.I have been creating a project which involves JDBC Connectivity.I find that the statements, String string_dob=text_dob.getText(); //Converting string to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.