![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Newbie
Join Date: Nov 2004
Posts: 22
Rep Power: 0
![]() |
error: cannot read: /tmp/8010/DD.java
1 error I got this error but I have no idea what it means Quote:
|
|
|
|
|
|
|
#2 |
|
Newbie
Join Date: Nov 2004
Posts: 22
Rep Power: 0
![]() |
Can anyone help?
|
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
that doesnt really look like valid java code to me...
make sure that your files are the same name as the class they contain. Example: foo.java public class foo {
//Class foo stuff.
}moo.java public class moo {
//class moo stuff
} |
|
|
|
|
|
#4 |
|
Programmer
|
You should check the file name and the directory you are trying to compile from as being in a TMP folder does not make much sense.
Also declare method COUP outside the curly braces. example public void COUP { //rest of code } also the last line of the method did not have a ; . You declared two classes in what seems like one file. You should be using methods for that. Your if statement conditions should be in parentheses if ( 1 == a) a++; check out java.sun for tutorials.
__________________
Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration. -S. Kelley |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|