This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

simple question help please

 
Dinesh Jayaraj
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello iam beginer in java pgming
before excuting the program we have to
set the path but i dont know how they work
can anybody tell in detail how does thees
following statements work.
path=%path%;set bin=c:\javajdk\bin
set lib=c:\javajdk\lib
set include=c:\javajdk\include
set CLASSPATH=c:\dinesh1
plese tell me in deatail
thanks in advance
dinesh jayaraj
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think Bill answered this well in the beginner forum:
http://www.javaranch.com/ubb/Forum33/HTML/001030.html
 
Ashwin Desai
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The classpath is the path the JVM uses to look for classes. Thus, all the classes related to your application should be reachable by this variable.
for e.g.
Say you have java installed in c:\javajdk
set path=%path%;c:\javajdk\bin
set CLASSPATH=c:\javajdk\lib;<path to wherever your class files are)>
Hope this helps.
Ashwin.

 
Mandar Rahurkar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wud suggest that u use IDE like KAWA and get to java programming now.It has very simple interface..to do things u wanted to
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic