wood burning stoves 2.0
The moose likes Beginning Java and the fly likes environment variables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "environment variables" Watch "environment variables" New topic

environment variables

Rob Hegemann

Joined: Feb 16, 2001
Posts: 2
Please explain the difference between PATH and CLASSPATH,
which I guess is two different things I need to enter in my Environment Variables in my OS (Win98). I have downloaded and
installed jdk1.2.2, and am going to be using Textpad.
What is the purpose of these, how do they differ, and how
do I set them up?
Thanks, Rob
greg philpott
Ranch Hand

Joined: Nov 10, 2000
Posts: 73
PATH: is where you will find your exectuables, eg javac.exe
CLASSPATH: is where java looks for your *.class files (compiled *.java files)
You can set them at the DOS prompt by typing this:
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: environment variables
It's not a secret anymore!