9 replies
by ricky
Check/Set you Java executable and class paths.
Trust you've installed java from the SUN CD. Then check what paths it puts in the autoexec.bat and config.sys files and change them as required...
by djeesfan
by ricky
Check/Set you Java executable and class paths.
Trust you've installed java from the SUN CD. Then check what paths it puts in the autoexec.bat and config.sys files and change them as required...
by djeesfan
by jay eckles
Try this:
In a DOS window, type this command:
set PATH=%PATH%;C:\pathto\java\
[obviously replacing C:\pathto\java with the path to the Java executable on your system]
Then try running a Java program. If it works, then it is in fact your environment that was the problem. You'll want to modify your environment to include this path in your path statement permanently - ask another question if you don't know how to do that.
Good luck.
Jay Eckles
www.jayeckles.com
by djeesfan
by shariqsaad
Step 1
open the "autoexec.bat" file located at "c:\" in any editor for eg. "Note Pad", "Word Pad" or "MS Word".
Step 2
Find the line starting with "Path = " or starting with "CLASS PATH =". and then add at its end the directory path where your"*.java" means java project files are located. for eg mines are in "c:\shariq\java"
so i would add something like this
PATH = c:\shariq\java\java
or
CLASS PATH = C:\shariq\java\java
or (if i have alreay some thing in in Path like)
Path = c:\windows; c:\windows\command;
than i would add to this
Path = c:\windows; c:\windows\command;c:\shariq\java\java
or
Class Path = c:\windows; c:\windows\command;c:\shariq\java\java
shariqsaad@yahoo.com
by djeesfan
by djeesfan
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending