DOS executable keeps telling me the is a problem with the program.
Please give a few more details:
what is the DOS executable?
What messages does it display?
Where does the it display the message?
One way to use the command prompt to development java:
Create a folder to hold the java files
Use an editor to create the java source file with the extension of .java
Open a command prompt window in the folder with the java program. May have to use the CD command to get to the folder
Enter the command: javac YourSourceFilename.java
that will compile the code and if no errors it will create a .class file
Enter the command: java YourSourceFilename
that will execute the program.