Results 1 to 4 of 4
Thread: A little help here, please?
- 07-22-2011, 12:56 PM #1
Member
- Join Date
- Jul 2011
- Posts
- 2
- Rep Power
- 0
A little help here, please?
Okay so ive downloaded java 1.6.0
added C:\Program Files\Java\jdk1.6.0\bin to the CLASSPATH variable

and C:\Program Files\Java\jdk1.6.0\bin to the PATH variable

I save my programs in C:\pgm.
I get this error:

but when i use the set path command, it works.

Why is that? why can't I run programs from the pgm folder without having to use the setpath command?
- 07-22-2011, 01:08 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,417
- Blog Entries
- 7
- Rep Power
- 17
Check for typos, because you're on the right track; b.t.w. don't set the classpath variable, i.e. that is used for completely something else.
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 07-22-2011, 01:16 PM #3
Member
- Join Date
- Jul 2011
- Posts
- 2
- Rep Power
- 0
I removed the path from the CLASSPATH variable and it worked! Haha thanks a bunch :D
- 07-22-2011, 01:24 PM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,417
- Blog Entries
- 7
- Rep Power
- 17


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks