Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

autoexec path

  Asked By: Nisha    Date: Nov 21    Category: Java    Views: 620
  

Trying to access it.
Not sure why software installation doesn't modify autoexec.bat rather than
having to do it manually. Oh, well.

My file now includes:

SET Path=%Path%;C:\j2sdk1.4.1_01\bin

Anything else I need, or will this do it ?

Appreciate feedback. I'd like to start using this.

Share: 

 

5 Answers Found

 
Answer #1    Answered By: Salvador Alexander     Answered On: Nov 21

I think u should set  u r classpath.

CLASSPATH = %CLASSPATH%.;C:\j2sdk1.4.1\jre\lib;

 
Answer #2    Answered By: Andrew Bryant     Answered On: Nov 21

Any problem with the slightly different designation between the 2 references
to j2sdk1.4....

SET Path=%Path%;C:\j2sdk1.4.0_01\bin
CLASSPATH = %CLASSPATH%.;C:\j2sdk1.4.1\jre\lib;

 
Answer #3    Answered By: Becky Baker     Answered On: Nov 21

Path is defined so you can type javac at the command
line instead of having to type
C:\j2sdk1.4.0_01\bin\javac everytime. CLASSPATH is a
Java specific variable that it uses to find classes.

First you haven't told us what OS you are using, I am
assuming Windows, but if this is Windows NT or above,
this won't work because it ignores the autoexec.bat file.

 
Answer #4    Answered By: Stacie Martin     Answered On: Nov 21

Found the problem...

should be j2sdk1.4.1_01 NOT 1.4.0_01

Now just trying to find a good newsticker applet to download and tear apart
to study.

 
Answer #5    Answered By: Adali Fischer     Answered On: Nov 21

there is one little typo error.
CLASSPATH=%CLASSPATH%;.;C:\j2sdk1.4.1\lib\tools.jar
But the Classpath entry in the autoexec.bat is useless
(you do not need  it).

 
Didn't find what you were looking for? Find more on autoexec path Or get search suggestion and latest updates.




Tagged: