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 5 of 5

Thread: Textpad Program Running Problems

  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Textpad Program Running Problems

    Hello,

    I recently installed Textpad (after installing JDK) and something very strange has happened that I can't find the solution to anywhere else. Textpad detected Java and I can compile it fine, but there is no default Run Java under the tools.

    I have tried setting looking up how to connect it to cmd and setting the correct parameters, but a lot of the FAQ are outdated and deal with an older OS or Textpad version. I am running Windows 7 and Textpad 5.3. If anyone could let me know the path they have for running java programs and their parameters that would be awesome.

    -Paddy


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Textpad Program Running Problems

    I don't think textpad has direct support for running Java programs as a debugger. I took a quick google search on textpad, and it looks pretty much like a standard text editor without any debugging tools. I would strongly recommend switching to either Eclipse or Netbeans. Both of these are full blown IDE's for developing Java (and other languages, but mostly java) which have syntax highlighting, powerful refractors, really good debuggers, and in the case of Netbeans, a GUI designer.

    Which you pick is really up to personal preference. I like using Eclipse because it's fast, but still has the powerful features that makes it a viable development platform. From what I've heard about Netbeans, the GUI designer is absolutely marvelous (I do use it from time to time), and it's made by the people who make Java, Sun Microsystems. Both IDE's have a massive support base, so pretty much all your questions about how to do something can be/have been answered.

    The best part about both of these IDE's is that they are both completely free and open source, whereas the info I got from TextPad's webpage requires you to pay for it.

  3. The Following User Says Thank You to helloworld922 For This Useful Post:

    Paddy (January 27th, 2010)

  4. #3
    Junior Member
    Join Date
    Jan 2010
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Textpad Program Running Problems

    The reason I was using Textpad is because that's what my professor uses for lectures, and it came on a disc with our textbook along with some other IDEs. I downloaded Eclipse earlier and tried to install it but got an error saying that it didn't detect JDK, so I think I may need to reinstall JDK to a different folder or something. I'm still working on that, but thanks for the advice.

  5. #4
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Textpad Program Running Problems

    Are you using a windows, linux, or osx platform? If it's windows, running the standard JDK installer from sun's website and installing to the default location (usually C:\Program Files\java\jdk_version) should work. Eclipse requires no "setup" so to speak, just unzip and run.

    If you're running linux, it's a little more complicated. The first thing I would try is finding the JDK and Eclipse on a repository with a software manager that is installed. Ubuntu and OpenSuse are two linux distros that I know for sure have these two items in their repository, but I'm pretty sure there are a lot of others that do, too. If you can't find the software in the repository or your linux distro doesn't have a software manager that automatically installs software for you, you will have to install using the install procedures given at each of the respective websites (an uber pain, because you have to make sure you have all the dependencies and such)

    If you're running an OSX platform (mac), there's not much I can do to help you since I don't own a mac and have never developed for one. I do remember one thing one of my professors did say, though, and that is that Sun's download of the JDK won't work, you have to go to apple's website and get the JDK from there (or maybe that's changed now, but knowing a bit about how apple software is distributed, I doubt it).

  6. #5
    Junior Member
    Join Date
    Jan 2010
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Textpad Program Running Problems

    I think it may not have downloaded right or something. I reinstalled JDK and redownloaded Eclipse and it works fine. Thanks for your help!

Similar Threads

  1. Replies: 2
    Last Post: November 26th, 2009, 08:45 AM
  2. running PocketSphinx on SonyEricsson K750i
    By johnyjj2 in forum The Cafe
    Replies: 0
    Last Post: November 5th, 2009, 07:34 AM
  3. running a class from another projects, reflection
    By led1433 in forum Object Oriented Programming
    Replies: 7
    Last Post: July 29th, 2009, 01:47 PM
  4. Replies: 4
    Last Post: April 21st, 2009, 09:37 AM
  5. Replies: 1
    Last Post: March 3rd, 2009, 08:04 AM