Click here to Skip to main content
16,008,942 members
Home / Discussions / Java
   

Java

 
AnswerRe: problem with arrays in java Pin
Richard MacCutchan27-Jan-12 22:40
mveRichard MacCutchan27-Jan-12 22:40 
GeneralRe: problem with arrays in java Pin
Member 858607227-Jan-12 22:54
Member 858607227-Jan-12 22:54 
GeneralRe: problem with arrays in java Pin
Member 858607227-Jan-12 22:57
Member 858607227-Jan-12 22:57 
GeneralRe: problem with arrays in java Pin
Richard MacCutchan27-Jan-12 23:30
mveRichard MacCutchan27-Jan-12 23:30 
GeneralRe: problem with arrays in java Pin
Member 858607228-Jan-12 1:12
Member 858607228-Jan-12 1:12 
GeneralRe: problem with arrays in java Pin
Richard MacCutchan28-Jan-12 1:28
mveRichard MacCutchan28-Jan-12 1:28 
GeneralRe: problem with arrays in java Pin
Richard MacCutchan28-Jan-12 1:37
mveRichard MacCutchan28-Jan-12 1:37 
GeneralRe: problem with arrays in java Pin
Richard MacCutchan28-Jan-12 2:30
mveRichard MacCutchan28-Jan-12 2:30 
OK, I've figured out what the problem may be. If you are manually compiling the class that uses NFA then you need to be in the correct directory for the compiler to find the class. If these classes are in a package then you need to start from the directory above the package directory. For example if class NFA is in directory test, and NFA is part of package test then you need to compile from the next higher directory as follows:
C:\Documents\Java\testing>dir test
 Volume in drive C is System
 Volume Serial Number is F28F-2710

 Directory of C:\Documents\Java\testing\test

28/01/2012  13:20    <DIR>          .
28/01/2012  13:20    <DIR>          ..
28/01/2012  12:44             1,000 MyTest.java
28/01/2012  12:44             1,598 NFA.class
28/01/2012  12:44               917 NFA.java
               2 File(s)        3,515 bytes
               2 Dir(s)  177,110,560,768 bytes free

C:\Users\Richard\Documents\Java\testing>
javac -cp . test/MyTest.java

Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman



GeneralRe: problem with arrays in java Pin
jschell28-Jan-12 4:45
jschell28-Jan-12 4:45 
GeneralRe: problem with arrays in java Pin
Richard MacCutchan28-Jan-12 4:54
mveRichard MacCutchan28-Jan-12 4:54 
QuestionCalling a Shared function from the Client side Pin
Vimalsoft(Pty) Ltd27-Jan-12 6:35
professionalVimalsoft(Pty) Ltd27-Jan-12 6:35 
AnswerRe: Calling a Shared function from the Client side Pin
Richard MacCutchan27-Jan-12 7:11
mveRichard MacCutchan27-Jan-12 7:11 
GeneralRe: Calling a Shared function from the Client side Pin
Vimalsoft(Pty) Ltd28-Jan-12 4:00
professionalVimalsoft(Pty) Ltd28-Jan-12 4:00 
Questionbe project Pin
harendra rai26-Jan-12 19:38
harendra rai26-Jan-12 19:38 
AnswerRe: be project Pin
TorstenH.26-Jan-12 20:44
TorstenH.26-Jan-12 20:44 
Questionjpanel to itext Pin
bijalvadher24-Jan-12 23:32
bijalvadher24-Jan-12 23:32 
AnswerRe: jpanel to itext Pin
Nagy Vilmos25-Jan-12 2:23
professionalNagy Vilmos25-Jan-12 2:23 
AnswerRe: jpanel to itext Pin
TorstenH.25-Jan-12 3:04
TorstenH.25-Jan-12 3:04 
QuestionProblem with ArrayLists java Pin
nikosv21-Jan-12 21:04
nikosv21-Jan-12 21:04 
AnswerRe: Problem with ArrayLists java Pin
Richard MacCutchan21-Jan-12 23:05
mveRichard MacCutchan21-Jan-12 23:05 
QuestionHelp with adding jPanel Form to other form Pin
_T("No name")21-Jan-12 5:53
_T("No name")21-Jan-12 5:53 
AnswerRe: Help with adding jPanel Form to other form Pin
TorstenH.22-Jan-12 21:42
TorstenH.22-Jan-12 21:42 
QuestionMultithreaded proxy server Pin
prateek.rajan8919-Jan-12 16:29
prateek.rajan8919-Jan-12 16:29 
AnswerRe: Multithreaded proxy server Pin
Peter_in_278019-Jan-12 17:41
professionalPeter_in_278019-Jan-12 17:41 
AnswerRe: Multithreaded proxy server Pin
jschell20-Jan-12 12:49
jschell20-Jan-12 12:49 

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.