Click here to Skip to main content
15,897,273 members
Home / Discussions / Java
   

Java

 
GeneralRe: please help me Pin
Richard MacCutchan25-Apr-11 21:43
mveRichard MacCutchan25-Apr-11 21:43 
AnswerRe: please help me Pin
TorstenH.25-Apr-11 12:01
TorstenH.25-Apr-11 12:01 
QuestionWhat is the problem accessing "C" drive using a code (using import.io.*; )? Pin
CoderForEver23-Apr-11 20:36
CoderForEver23-Apr-11 20:36 
AnswerRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
jschell25-Apr-11 8:21
jschell25-Apr-11 8:21 
GeneralRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
CoderForEver25-Apr-11 12:07
CoderForEver25-Apr-11 12:07 
GeneralRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
TorstenH.25-Apr-11 19:33
TorstenH.25-Apr-11 19:33 
GeneralRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
jschell26-Apr-11 8:00
jschell26-Apr-11 8:00 
GeneralRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
jschell26-Apr-11 7:57
jschell26-Apr-11 7:57 
CoderForEver wrote:
It throws a NullPointerException


The stack trace tells you where. So which line is it?

CoderForEver wrote:
the application may not have an access on hard


Application? You are running exactly the code you posted from a console window correct?

Thus the only way it wouldn't have access is if you you, the user, doesn't have permission to access the C drive root. And if that was the case then you should see an exception that indicates exactly that - a permission problem.
AnswerRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
Richard MacCutchan25-Apr-11 22:16
mveRichard MacCutchan25-Apr-11 22:16 
GeneralRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
Nagy Vilmos27-Apr-11 5:43
professionalNagy Vilmos27-Apr-11 5:43 
GeneralRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
Richard MacCutchan27-Apr-11 6:53
mveRichard MacCutchan27-Apr-11 6:53 
GeneralRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
David Skelly28-Apr-11 1:48
David Skelly28-Apr-11 1:48 
GeneralRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
Richard MacCutchan28-Apr-11 5:54
mveRichard MacCutchan28-Apr-11 5:54 
AnswerRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
CoderForEver26-Apr-11 3:26
CoderForEver26-Apr-11 3:26 
GeneralRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
Richard MacCutchan26-Apr-11 10:15
mveRichard MacCutchan26-Apr-11 10:15 
AnswerRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
Luc Pattyn26-Apr-11 4:05
sitebuilderLuc Pattyn26-Apr-11 4:05 
AnswerRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
jschell26-Apr-11 8:03
jschell26-Apr-11 8:03 
AnswerRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
David Skelly26-Apr-11 22:16
David Skelly26-Apr-11 22:16 
RantRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
Richard MacCutchan26-Apr-11 22:28
mveRichard MacCutchan26-Apr-11 22:28 
QuestionIf string is a immutable class then how come it is allowing us to make changes ? Pin
shiva.kore23-Apr-11 7:11
shiva.kore23-Apr-11 7:11 
AnswerRe: If string is a immutable class then how come it is allowing us to make changes ? Pin
Luc Pattyn23-Apr-11 7:25
sitebuilderLuc Pattyn23-Apr-11 7:25 
GeneralRe: If string is a immutable class then how come it is allowing us to make changes ? Pin
shiva.kore23-Apr-11 7:45
shiva.kore23-Apr-11 7:45 
GeneralRe: If string is a immutable class then how come it is allowing us to make changes ? Pin
CoderForEver23-Apr-11 20:40
CoderForEver23-Apr-11 20:40 
QuestionDesktop notification application in java Pin
krutikaji22-Apr-11 7:32
krutikaji22-Apr-11 7:32 
AnswerRe: Desktop notification application in java Pin
jschell22-Apr-11 14:02
jschell22-Apr-11 14:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.