Monday, April 6, 2009

j1

Today I have started to read books on java. so here i am making a note on the topic i have read so far . I have read some few pages on the introduction java.

Java is written as an innovative programming langauge which can be written in any platform without any issue of their environment. It is also an object oriented programming langauge much refined from other obeject oriented programming langauge. whenever we write on any operating system, java virtual machine (jvm) will be installed on the system and the source code of the program will be intrepreted to ,bytecode with the help of this jvm which can be easily undertood by any operating system where jvm is installed.

Inorder to first learn some hard basic concepts it is advised to use a simple notepad or text editor to write the java programs. Once java development kit (jdk ) is installed. we can start writing java programs. this jdk will compile the programs. After the installation of jdk. suppose it is installed in c drive, there will be a folder name jdk_1.4. something jdk folloed by it version, this folder is called java home . Inside this folder, there will be sub folder named demo,bin,lib,jre,sample etc. Here the path jdk_1.4/bin should be define as path in the environmental variable.
Now, we can start writing with main class in the class name where the name of the java programs should be the same. for example i have writeen a java class named as mytest, then i will named the name of the file as mytest.java
once i have written this, i can compile the source code like this javac mytest.java
once this is run a bytecode will be generated in the current folder with the file name mytest.class.
then when we have to run this program we have to type java mytest
this will give the result.
whatever here in java is objects. It is extension of old programing fashion is there solution will be printed only numbers and character. here we would solve the problems of real world objects.

Saturday, April 4, 2009

I thought of honing some technical skill during this period of free time . Mostly i would be having free time for almost three to four months. So i thought of i would be doing something good and improve my technical skill. i pick up to improve my skills on c,java and unix. Luckily i was able to install linux where i can start working things for unix. I keep starting up yesterday itself typing those things ilike vi editor,commands etc used in unix environment while i was working in this domain. It was good that i install linux without any problem yesterday before i was having problem that installation dics for linux i was haing was corrupted either or th one i had in other option is an outdated ones.And even for c , there is inbuilt c compiler in linux and hence i wont be having any probelm working with c programming. Things got fine for linux and c. But now here is again the problem for java . I tried installing java jre and jdk . i followed all the instruction given but i donno somehow i got stuck and i couldn't complete the installation process. some error is giving out, i couldn't still make it out what exactly has made to retrun thsi kind of error.so i decide i would install vista again tommorrow taking a vista installation disc from on of my friend.if i instaled vista i can easily install netbeans and java development kit easily. this how i thought today from tommorow i won't having any problem continuing my work for thsi short free period. I hope there wont be any interruption from then onwards.....

About this blog

Site Sponsors