Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Need help installing JDK/Texpad

  1. #1
    Junior Member
    Join Date
    Jan 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need help installing JDK/Texpad

    I can't get the run and compile command to work.

    I tried adding in control-1 and control-2 under Tools but it says

    "'control-1' is not recognized as an internal or external command,
    operable program or batch file.

    Tool completed with exit code 1"

    I think I'm to connect Textpad with the JDK but I don't how to do that...

    I read somewhere I have to add in Environment Varibales (Path) to C:\Program Files\Java\jdk1.6.0_29\bin

    but that doesn't change anything.

    Another question, the JDK installs under Program Files, but Textpad installs under Program Files(x86). Is this correct?
    Last edited by unholyx; January 28th, 2012 at 05:59 PM.


  2. #2
    Super Moderator pbrockway2's Avatar
    Join Date
    Jan 2012
    Posts
    987
    Thanks
    6
    Thanked 206 Times in 182 Posts

    Default Re: Need help installing JDK/Texpad

    I tried adding in control-1 and control-2 under Tools but it says

    "'control-1' is not recognized as an internal or external command,
    operable program or batch file.

    Tool completed with exit code 1"
    I'm not sure what you mean by "adding in control-1". From the error message it looks like whatever you added wasn't correct.

    I have Textpad, but have never used the tools so I decided to try it out. This is what I did:

    (1) I went to Configure... -> Preferences... and choose Tools.
    (2) I clicked the Add button and choose Java SDK Commands.
    (3) Three commands were created. I clicked OK
    (4) Under Tools -> External Tools -> ... three commands appeared. (Ctrl+1 to compile, and Ctrl+2 to run)
    (5) I wrote a small HelloWord.java file and tested compiling and running. My test program compiled and ran ok.

    The first step gives you the ability to remove existing tools which might be a good idea if they are not configured correctly at the moment.

  3. #3
    Junior Member
    Join Date
    Jan 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Need help installing JDK/Texpad

    I fixed it. Turns out I was downloading 64bit when I should be using 86....sorry I'm an idiot :/

Similar Threads

  1. Confused Ubuntu-ist installing JDK7
    By kayve in forum Member Introductions
    Replies: 4
    Last Post: September 18th, 2011, 06:38 AM
  2. Installing JMF, setting up Classpath in Netbeans Problem
    By chronoz13 in forum Java Theory & Questions
    Replies: 0
    Last Post: May 19th, 2011, 09:11 AM
  3. Replies: 3
    Last Post: March 1st, 2011, 02:18 PM