aspose file tools*
The moose likes Servlets and the fly likes Classpath problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Classpath problems" Watch "Classpath problems" New topic
Author

Classpath problems

zaeem masood ashar
Ranch Hand

Joined: Mar 17, 2001
Posts: 54
I understand the purpose of setting classpath and path. What does " % " and " ;.; " signs signify while setting these in the autoexec.bat file ? What is the importance of using a semi colon " ; " ? Is it necessary to put it at the end of every statement?

Also what happens to the old path/classpath settings? Do these stay or are to be deleted in the Autoexec.bat file??

Thanks


SCJP2
Wirianto Djunaidi
Ranch Hand

Joined: Mar 20, 2001
Posts: 210

The % sign is for macros or system environment variable,
so if you have
PATH=%PATH%;<your path>
it will use the "old PATH" value and add it into the new "PATH"
value.
the ";.;" is nothing but adding the "." directory which is
always the current directory you are in. The extra ; is just the
separator in the PATH variables.
People usually add the ".", so whatever directory they are in
will always be in the PATH or CLASSPATH
zaeem masood ashar
Ranch Hand

Joined: Mar 17, 2001
Posts: 54
Thanks bro
------------------
SCJP2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Classpath problems
 
Similar Threads
Installing Tomcat
set classpath..
compiling package with import statement
stange problem with MySql driver
Setting classpath ...urgent