Not sure if this helps but when I try and complile it says under tool output "tool completed with exit code 1"
Type: Posts; User: newtojava2011
Not sure if this helps but when I try and complile it says under tool output "tool completed with exit code 1"
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client ...
Thanks for the help by the way
Not sure if I'm understanding you correctly but yes my compiler works fine, this program is just not compiling. Sorry if I seem like an idiot I am new to programming and do not completely understand...
The compiler
Not sure if this is what your asking for but im using TextPad. Saved as .java but hasn't compiled so it wont save as .class file yet.
That help at all?
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client ...
Exception in thread "main" java.lang.NoClassDefFoundError: AscendingOrder
Press any key to continue . . .
Any help would be greatly appreciated
Still not compiling for some reason telling me exception in thread "main"
import java.io.*;
import java.util.*;
public class AscendingOrder
{
public static void main(String[]args)...
Thanks, and will do next time
I am new to java as the name states. I am attempting a program where you need to input three numbers from a file and list them in ascending order. I need to use if and if else statements only, no...