File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes simple question help please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "simple question help please" Watch "simple question help please" New topic

simple question help please

Dinesh Jayaraj

Joined: Nov 19, 2000
Posts: 23
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"

Joined: Sep 29, 2000
Posts: 8521
I think Bill answered this well in the beginner forum:

"JavaRanch, where the deer and the Certified play" - David O'Meara
Ashwin Desai
Ranch Hand

Joined: Jul 17, 2000
Posts: 124
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.

Mandar Rahurkar

Joined: Nov 24, 2000
Posts: 9
I wud suggest that u use IDE like KAWA and get to java programming now.It has very simple do things u wanted to
jQuery in Action, 3rd edition
subject: simple question help please
It's not a secret anymore!