Jump to content

Manam ee thadu loo java discussions chesukundhama basics nuchi ...


andhratechie

Recommended Posts

Ya kocham wait chedam ...inka evarina vastaru emo ... il post the first program and some study notes by EOD ... keep checking ..

Link to comment
Share on other sites

Mana First program notepad loo chedam endhukante ...Namsthe Andhra Program ki IDE vadatam ante pichika medha brahmastram veyatam laga vuntundhi ...

First ee kind dashed lines loo vunna code ni copy chesi oka note pad loo save cheyandi


_______________________________

class NamstheAndhra {

  public static void main () {

        System.out.println("Namasthe Andhra");

  }


}

_______________________________


Note pad save chespudu .txt ani vastundhi kadi adhi okati matrham .java ani marchandi ela marhalotelkapohte note pad save cheepudu file name ila ivandi "NamstheAndhra.java"  file name and double quotes motham ivali just copy chesi file name box loo paste cheyandi chalu ..

ee file ni tisukuvelli mee C drive loo C:\JavaPrograms ani oka folder create chesi andhulu veyandi ....

Link to comment
Share on other sites

Chinna change ee code copy chesukondi first rasandhi correct kadu .. indhaka program loo args miss ayai ..avi very imp


--------------------------------------

class NamstheAndhra {

  public static void main (String args[]) {

        System.out.println("Namasthe Andhra");

  }


}


--------------------------------------------

String args[] miss iendhi dhani importance cheptanu ..


ee image refer cheynadi mee filename same to same adhe vundali ...

[img]http://i51.tinypic.com/nlxvrl.png[/img]

Mee My Computer ni right click chesi Properties ani koti ..anhuloo Advanced System Settings ani kotandi ..Anduloo Advanced ani tab vuntundhi adhi click chesi dhaniloo Enviornment Variables ani button vuntadhi adhi click cheyandi akkada System Variables ani vuntundhi dhaniloo Path ane variable okati vuntundhi dhani select chesi Edit.. ani kotti ee text add cheyandi already vunna path ki ;C:\Program Files (x86)\Java\jdk1.6.0_25\bin  (idhi naa system loo vunna path JDK mee installation ekkada vunte adhi ivandi ) (EE katha antha endhuku chesamoo taruvatha cheptah :-) )

ippudu Window icon click chesi > >Run >> Cmd ani kotandi ..

Cd C:/JavaPrograms

ani kotandi


aa path loo miru already rasi save chesina java program vuntundhi


akkada javac NamstheAndhra.java ani kotnadi

taruavath java NamstheNadhra ani kotnadi

Link to comment
Share on other sites

I guess miru kothaga chestunte atleast oka sari iana thantudhi idhi run chespudu ..appudu miku doubts vastai oka sari miru kuda run chesi chudandi ... any querys post back then we will go for details of this program and some theory ..

Link to comment
Share on other sites

[quote author=andhratechie link=topic=190260.msg2317603#msg2317603 date=1304791431]
I guess miru kothaga chestunte atleast oka sari iana thantudhi idhi run chespudu ..appudu miku doubts vastai oka sari miru kuda run chesi chudandi ... any querys post back then we will go for details of this program and some theory ..
[/quote]

Idedo error ostundi bhayya...

'javac' is not recognised  as an internal or external command, operable program or batch file

Link to comment
Share on other sites

My Computer ni right click chesi Properties ani koti ..anhuloo Advanced System Settings ani kotandi ..Anduloo Advanced ani tab vuntundhi adhi click chesi dhaniloo Enviornment Variables ani button vuntadhi adhi click cheyandi akkada System Variables ani vuntundhi dhaniloo Path ane variable okati vuntundhi dhani select chesi Edit.. ani kotti ee text add cheyandi already vunna path ki ;C:\Program Files (x86)\Java\jdk1.6.0_25\bin 


..aa paina vunna steps nuvvu cheste ee error rakudadhu ..still vastundhi ante ..nee MyComputer loo vunna Path variable loo emundoo oka sari emundhoo chespu nee jdk bin folder lekpothe andhuloo ee error vastundhi ..

Bayataku velli ippude vacha ..sorry for late reply ....

Link to comment
Share on other sites

niku aa error endhuku vachindhante ..javac ane command nuvvu run chestuna location loo kanpadaledhu ... Nee system loo JDK install chesina location (C:\Program Files (x86)\Java\jdk1.6.0_25\bin) ki velli chudu akkada javac ani oka file vuntundhi adhe nee OS ki kanipchelaga petali .. dhanikosam nee system PATH variable set cheyali ...

I guess u leart something with your first mistake .. inka ilantivi chala vastai try chei ... oka sari u got used to it ..uil njoy programming ..

Link to comment
Share on other sites

[quote author=andhratechie link=topic=190260.msg2319094#msg2319094 date=1304815227]
My Computer ni right click chesi Properties ani koti ..anhuloo Advanced System Settings ani kotandi ..Anduloo Advanced ani tab vuntundhi adhi click chesi dhaniloo Enviornment Variables ani button vuntadhi adhi click cheyandi akkada System Variables ani vuntundhi dhaniloo Path ane variable okati vuntundhi dhani select chesi Edit.. ani kotti ee text add cheyandi already vunna path ki ;C:\Program Files (x86)\Java\jdk1.6.0_25\bin 


..aa paina vunna steps nuvvu cheste ee error rakudadhu ..still vastundhi ante ..nee MyComputer loo vunna Path variable loo emundoo oka sari emundhoo chespu nee jdk bin folder lekpothe andhuloo ee error vastundhi ..

Bayataku velli ippude vacha ..sorry for late reply ....
[/quote]

Still same error.

Ee path la kinda locations unnayi

C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Dell\Dell Wireless WLAN Card;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_25\bin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...