Results 1 to 4 of 4
- 03-31-2011, 08:55 PM #1
Member
- Join Date
- Mar 2011
- Posts
- 3
- Rep Power
- 0
newbie here, access denied error?!?
I was trying to run simple java programs in J Creator (I'm using Java for Dummies to learn) but I get an
error every time that says the error has to do with the class and that
my access is being denied... here is an example:
error while writing MortgageText: C:\Program Files
(x86)\JCreatorV4LE\MyProjects\Program0201\Mortgage Text.class (Access
is denied)
I think it has to do something with permissions but not really sure...
I'm very new to all this and trying to learn but I can't run any
programs!
Could you please point me in the right direction?
Thanks!
- 03-31-2011, 10:38 PM #2
Don't attempt to save source files or compile to class files under C:\Program Files\. Some versions of Windows don't allow it, and it's a bad choice anyways.
Instead, make a top level folder (say C:\Java\) and save your work there.
db
- 04-01-2011, 02:08 AM #3
Member
- Join Date
- Mar 2011
- Posts
- 3
- Rep Power
- 0
now its even more messed up
I moved the jdk file to C:\Java\.... but I kept the files in the same place for the programs ... I got this error
--------------------Configuration: Program0201 - JDK version 1.6.0_24 <Default> - <Default>--------------------
Error : Invalid path, "C:\Program Files (x86)\Java\jdk1.6.0_24\bin\javac.exe" -source 1.5 -classpath "C:\Program Files (x86)\JCreatorV4LE\MyProjects\Program0201" -d C:\Program" Files "(x86)\JCreatorV4LE\MyProjects\Program0201 @src_program0201.txt"
Process completed.
- 04-01-2011, 02:16 AM #4
Member
- Join Date
- Mar 2011
- Posts
- 3
- Rep Power
- 0
Similar Threads
-
Jni registry 'access denied' error.
By durino13 in forum Advanced JavaReplies: 4Last Post: 09-17-2011, 07:06 AM -
Getting access denied error while importing file using input type="file" with IE7
By sarang1 in forum Advanced JavaReplies: 6Last Post: 02-10-2011, 09:55 AM -
Access is denied
By tholland in forum New To JavaReplies: 2Last Post: 12-20-2010, 08:57 PM -
access denied
By Dennis in forum Advanced JavaReplies: 8Last Post: 06-05-2010, 08:46 AM -
[SOLVED] Access Denied error using FileInputStream
By xcallmejudasx in forum New To JavaReplies: 8Last Post: 05-21-2009, 04:13 AM


LinkBack URL
About LinkBacks

Bookmarks