Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Joined: Jan 26, 2009
Feb 01, 2009 12:52:07
Hello, I am trying to write a program on notepad, and use the cmd prompt to open. I have my PATH set and all that. When I look in the dir, using the cmd prompt my Hello.java is there.
My problem is: when I try javac Hello.java I get an error, the error is:
Hello.java:1: error while writing Hello: Hello.class <Access is denied>
Using vista 64bit.
Any idea on how to fix this?
EDIT: Figured it out, silly Vista makes me give myself access to write to folders I create!
Joined: Oct 13, 2005
Feb 01, 2009 14:05:42
Well done sorting it out by yourself (
), and thank you for telling us the answer in case anybody else has the same problem.-
I agree. Here's the link:
subject: Using cmd.exe
Running Java Programs from the command prompt
'javac' is not recognized as an internal or external command,
Use cmd and not an IDE.
Running compiled code
Is this the place to ask installation questions?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015