S
stevek
Think I have my path variables set up ok until I try to run an app. I
need to enter java -cp . <app name>.
What am I missing.
TIA
need to enter java -cp . <app name>.
What am I missing.
TIA
stevek said:Think I have my path variables set up ok until I try to run an app. I
need to enter java -cp . <app name>.
What am I missing.
Think I have my path variables set up ok until I try to run an app. I
need to enter java -cp . <app name>.
What am I missing.
TIA
stevek said:Thought so. I the following not correct?
CLASSPATH=C:\.;C:\Program Files\j2sdk1.4.2_01\bin;E:\.;C:\Program
Files\sql2kjdbc\lib\msbase.jar;c:\program fi
les\sql2kjdbc\lib\mssqlserver.jar;c:\program files\sql2kjdbc\lib\msutil.jar
Try to set "." as suggested...
The "C:\.;" does not set ".", it is just the same as "C:\;"
Try: CLASSPATH=.;C:\.;C:\Program...
stevek said:Thought so. I the following not correct?
CLASSPATH=C:\.;C:\Program Files\j2sdk1.4.2_01\bin;E:\.;C:\Program
Files\sql2kjdbc\lib\msbase.jar;c:\program fi
les\sql2kjdbc\lib\mssqlserver.jar;c:\program files\sql2kjdbc\lib\msutil.jar
Michael Borgwardt said:files\sql2kjdbc\lib\msutil.jar
No, it is not. This is the reason why using CLASSPATH at all is a bad idea.
Besides, you've mixed up PATH and CLASSPATH.
stevek said:Think I have my path variables set up ok until I try to run an app. I
need to enter java -cp . <app name>.
What am I missing.
stevek said:Think I have my path variables set up ok until I try to run an app. I
need to enter java -cp . <app name>.
What am I missing.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.