|
javadevil
|
Hey guys, am a java programmer and would like to help beginners start a good career in Java Programming, Please post you problems and projects here. I solve your problems and give you tips on doing your projects yourself. enjoy and welcome to the java world
|
|
|
|
|
|
kaymi (f)
|
Thanks so much, I am a Beginner and I have been trying to figure this out and I can't, I have text books, I have ebooks and edocuments, but I seem not to be getting it, about writing codes, setting path, compiling and executing. I really need your help. Are you residing in Lagos. I wont mind been taught practically, I have to get and understand this because I really need it. My email is javastudy1@yahoo.comPlease come to my rescue. Thank you
|
|
|
|
|
|
logica
|
i don't know why people cannot understand that you cannot be taught how to program. if you cannot get it by yourself, please forget it and focus your energy on more useful and fruitful endeavors.
|
|
|
|
|
|
Bossman (m)
|
I responded in the thread below already. As for the syntax of the language, there are zillions of books online. However, as from learning to program, a lot is going to depend on you. Programming is not like most other subjects. It's all about problem solving. You analyze a problem and you come up with ways to solve it. It also takes quite some time especially in the beginning. In my opinion, it's like asking someone to teach you how to think. http://www.nairaland.com/nigeria/topic-132535.0.html
|
|
|
|
|
|
brine
|
Eh!!! Why so much lecture
|
|
|
|
|
|
X-2-X (m)
|
I have text books, I have ebooks and edocuments, but I seem not to be getting it, about writing codes, setting path, compiling and executing. . . . .
I you have books, etc and still can't figure out how to set classpaths or compile a simple class, then take the advice from Logica. Quit!
|
|
|
|
|
|
javaprince (m)
|
I need help in displaying Crystal Reports in Java and linking it to my database backend. I have tried to download iReports from JasperReport but am not sure how to use it yet.
|
|
|
|
|
|
logica
|
@ "javaprince"
does the iReport download come with documentation or not? What site did you download it from? Doesn't the site have any documentation?
|
|
|
|
|
|
javadevil
|
sorry guys, have been down for a week, please post you questions now
|
|
|
|
|
|
javadevil
|
X-2-X, please ignore what logica has writen, you can be tot any programming language its just a matter of interest, about setting your classpath, please follow the simple method below.
1. Right click on my computer 2. Select property 3 Select the advance Tab, 4. click on environment varible 5. Under System variables scroll to Path 6 Double Click on path, you will find value similar to this "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Program Files\Microsoft SQL Server\90\Tools\binn\ 7 add a semicolon to the end ";" without d quotes; 8. browse to the directory where you installed your JDK, which is by default c:\programfiles\j2sdk1.6\bin, 8. copy the link to the bin directory and paste it after the semicolon you added in the system variables.
I hope that's quiet simple enough for a beginner, please let me know if you have anyother problem.
|
|
|
|
|
|
javadevil
|
PLS NOTE ALL JAVA BEGINNERS! DO NOT RUSH WHEN YOU'RE READING ANY JAVA TEXT, ALL WAYS TRY TO TYPE THE CODE AS YOU READ, ITS VERY SLOW BUT EFFECTIVE. The Java Tutorial is a very Place to start. I don't advice starters to Use Thinking in Java by Bruce Eckel
|
|
|
|
|
|
sbucareer (m)
|
Listen all Java enthusiast, if you cannot learn Java from this link you better start thinking of another line of career.
The link is actually used for undergraduate year one in that university. All you see in that link is what year one student have to study to pass over to year two. Try all the assignments.
Second year, Prof Fintan recommends a book called A Java Foundation Classes Primer ISBN: 0-333-77339-X. When you finish the entire trail, you can invest on this second book.
This is all I can say to beginners to Java. Stop moaning and do some work.
|
|
|
|
|
|
sbucareer (m)
|
Just a Hint ================== Java files are called Class. Any java program you write today MUST be a class file. A class is a model of a real life Object. Example let model a Java newbie.
The newbie is called Human. A human has many attributes i.e.
1. Eyes 2. Nose 3. Arm 4. Leg 5.Ear 6. Skin Color 7. Hair Color 8. Height 9. Weight 10. Foot Size
etc.
All these are attributes of a Human. Remember this human does not have a name or weight, Hair Color yet! For us to know this human we must first create it.
To do this we write the class and give the class name as Human i.e
public class Human extends Object{
//We are going to declare all the attributes public String nose; public String eyes; public String ears public String legs; public String skinColor; public String hairColor; public String height; public String weight; public String footSize;
//Tell the class what Human you want this class to be through this constructor public Human ( String nose, String eyes, String ears, String legs, String skinColor, String hairColor, String height, String weight, String footsize ){
this.nose = nose; this.eyes = eyes; this,ears = ears; this.legs = legs; this.skinColor = skinColor; this.hairColor = hair Color; this.height = height; this.weight = weight; this.footSize = footSize;
}//End Constructor
//public getter and setters
public void setNose(String nose){ this.nose = nose; }//End this Nose modifier
//Do the rest of the setter ,
//Do the getters public String getNose(){ return this.nose; }//End this getter
//Do the rest of the getter
, }//End Class Human
Object, is a copy of a class that have aggregate attributes, state and behaviour. i.e.
Name = Paul Smith Nose = Pointed Eyes = Blue Weight =14lbs Height = 2.14meter Leg = Tall
To do this, we instantiate the class called Human to Paul i.e
Human paul = new Human ("Pointed","Blue","Big","Tall","Tan","blond","2.14","14LBS","20"); System.out.print(paul.toString());
paul.setNose("Bend"); System.out.print(paul.toString());
This is just a short tutorial, try modelling an object in your house. i.e. Model you Mum/Dad car. Good luck.
|
|
|
|
|
|
lalaboi (m)
|
just installed java on my laptop but its not compiling my codes! any body?
|
|
|
|
|
|
Bossman (m)
|
Exactly what do you mean by "it's not compiling my code" Is it because you have compilation errors or the Java compiler could not be found? When you type "Java" at the command prompt what do you see? Did you set your classpath as suggested in one of the several threads in this forum? To get meaningful and more appropriate answers, I'd suggest you provide more details regarding the error you are getting. just installed Java on my laptop but its not compiling my codes! any body?
|
|
|
|
|
|
lalaboi (m)
|
thats the point! i dnt knw how to set my class path
i tried the step above and its still not compiling
like have got a code femi.java , in the command prompt i type in javac femi.java and its telln me 'javac' is not a recognized smtn smtn
|
|
|
|
|
|
Bossman (m)
|
Type this 'java -version' at the command prompt and see if you get anything.
If you do, then at the command prompt type 'set classpath' and post the results here. If the above is ok, you may have a typo somewhere. The javac.exe is supposed to be in the bin directory, and you should be able to execute it from anywhere if the classpath is set correctly.
|
|
|
|
|
|
lalaboi (m)
|
typed in the version and it showed me the version of my java
typed in set class path, result= environment variable class path not defined
|
|
|
|
|
|
lalaboi (m)
|
this is the main thing in my variable value, is it corect?
C:\Program Files\PC Connectivity Solution\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Java\jdk1.6.0\bin
|
|
|
|
|
|
lalaboi (m)
|
i av just added a comma to the end! according to the step above.
now a diff error appeared!
file not found, use help to do smtn smtn
|
|
|
|
|
|
Bossman (m)
|
It should actually be a ; (semi colon) after the path settings. Add the semi colon, then type 'path' at the command prompt and verify that your entire path including the jdk path is there. Then try 'javac' at the command prompt. i av just added a comma to the end! according to the step above.
now a diff error appeared!
file not found, use help to do smtn smtn
|
|
|
|
|
|
lalaboi (m)
|
its still not compiling!
|
|
|
|
|
|
kinswrld (m)
|
Hi fateful,i really like your effort you are put for we beginners of Java.My question i install Java 1.1 to my system.I written my Source files with word text and been save so i will want to run the program.The problem am have is what step am i going to take for the program to run.Thanks
|
|
|
|
|
|
Emma4dfuture (m)
|
Guys,tnx 4d educatn u're givin.1tin is,I live in an underdevelopd area,so it's hrd 4me2 get this Java bks&cds.
|
|
|
|
|
|
Emma4dfuture (m)
|
I'll b most grtful if u can give me some sites 2dwnld them/places where I cn getdem.My email:emmaforthefuture@hotmail.com
|
|
|
|
|
|
|
|
kinswrld (m)
|
Please can someone help me with, I like to know what development tools i can use to start in learning Java because am really interested in this program actually have not been to any lecture on this but I do make use of the school library, there is much book I could make use of so. Please for God sake what software can I use that I will understand easily as time goes on. And can a program run on non connected system? My email address is kinsworld21@yahoo.com or you could link me to a site or books that could solve my problem, I pray God will increase you wisdom as you help shear you knowledge with we the new ones. Thanks
|
|
|
|
|
|
kinswrld (m)
|
Please can someone help me with, I like to know what development tools i can use to start in learning Java because am really interested in this program actually have not been to any lecture on this but I do make use of the school library, there is much book I could make use of so. Please for God sake what software can I use that I will understand easily as time goes on. And can a program run on non connected system? My email address is kinsworld21@yahoo.com or you could link me to a site or books that could solve my problem, I pray God will increase you wisdom as you help shear you knowledge with we the new ones. Thanks
|
|
|
|
|
|
lalaboi (m)
|
anybody to help[?
my java is not compiling ohh!!!
|
|
|
|
|
|