Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Thread: Help with Textpad

    by Norm
    Replies
    23
    Views
    2,139

    Re: Help with Textpad

    Glad you got it working.
  2. Thread: Help with Textpad

    by Norm
    Replies
    23
    Views
    2,139

    Re: Help with Textpad

    Use the java command with the classname to execute the class.

    See the tutorial: http://docs.oracle.com/javase/tutorial/getStarted/cupojava/win32.html
  3. Thread: Help with Textpad

    by Norm
    Replies
    23
    Views
    2,139

    Re: Help with Textpad

    The space in the folder name requires that the full path be enclosed in quotes:
    "C:\Program Files\Java\jdk1.7.0_45\bin/javac.exe"

    MS has messed up more people with that folder named: Program Files
  4. Thread: Help with Textpad

    by Norm
    Replies
    23
    Views
    2,139

    Re: Help with Textpad

    It looks ok.

    That was from the contents of the comandprompt window from when I executed the batch file.
  5. Thread: Help with Textpad

    by Norm
    Replies
    23
    Views
    2,139

    Re: Help with Textpad

    1) find the path to your javac.exe file
    2) replace the path to my javac.exe file with the path to your javac.exe file
    3)replace the name of my java file with the name of your java file.
    4) save...
  6. Thread: Help with Textpad

    by Norm
    Replies
    23
    Views
    2,139

    Re: Help with Textpad

    The batch file contains a command line and the MORE command.

    Can you execute the javac command in a command prompt window? Use that exact same command line as the first line of the batch file. ...
  7. Thread: Help with Textpad

    by Norm
    Replies
    23
    Views
    2,139

    Re: Help with Textpad

    Is that from when the batch file was executed? Here is the batch file named: CompileTestCode16.bat
    In Meta format. Replace items inside <> with your values:
    <PATH TO THE javac.exe file> <The java...
  8. Thread: Help with Textpad

    by Norm
    Replies
    23
    Views
    2,139

    Re: Help with Textpad

    A batch file is a way to save a commandline in a file and execute it by double clicking on it. The javac command will not harm your system. A batch file is a simple and quick way to execute a...
  9. Thread: Help with Textpad

    by Norm
    Replies
    23
    Views
    2,139

    Re: Help with Textpad

    Create a batch file with 2 lines similar to what is shown in post#4. Replace the path to the javac.exe file with the path on your PC and replace the name of the .java file with the name of your java...
  10. Thread: Help with Textpad

    by Norm
    Replies
    23
    Views
    2,139

    Re: Help with Textpad

    Are you able to compile now? If not, make a simple batch file to do compiles(see post#4)

    There are lots of tutorials on how to set the Path environment variable.

    I don't know anything about...
  11. Thread: Help with Textpad

    by Norm
    Replies
    23
    Views
    2,139

    Re: Help with Textpad

    Is the bin folder with javac.exe on the Path variable?

    A quick way for short term usage is to make a batch file that will compile a java file:
    <PATH TO THE javac.exe file> <The java file>.java...
Results 1 to 11 of 11