Forums Register Login

simple question help please

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
I think Bill answered this well in the beginner forum:
http://www.javaranch.com/ubb/Forum33/HTML/001030.html
+Pie Number of slices to send: Send
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.

+Pie Number of slices to send: Send
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
The overall mission is to change the world. When you've done that, then you can read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 788 times.
Similar Threads
Setting a path and class path
How do i get Java working?
what does theese statements do
EJB Compile error
Problem with Servlet
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 03:36:32.