Results 1 to 5 of 5
  1. #1
    Menre is offline Member
    Join Date
    Feb 2008
    Posts
    79
    Rep Power
    0

    Question Need Help installing java - can you help me?

    Hi Everyone,

    I love Java as well as programming. I am very new to Java. I have a serious problem installing the programme as well as making it work with Textpad or Notepad on My Microsoft Windows PC at home.

    At first, I downloaded the Java SE Development Kit 6 (also known as JDK™ 6). Then I install it. And downloaded the TextPad programme, which I installed too. But when I compile my my java code such as:


    public class helpMe
    {
    public static void main(String[] args)
    {
    System.out.println("Hello World, here comes someone with a problem installing Java");
    }
    }


    But I saved it as helpMe.java and tried to run it on Textpad but nothing happens.


    I have also tried the tutorial on the page below, but nothing is working.
    "Hello World!" for Microsoft Windows (The Java™ Tutorials > Getting Started > The "Hello World!" Application)

    I get the message below when I try NotePad and run the command prompt

    'javac' is not recognized as an internal or external command, operable program or batch file'

    Then I follow the link below to do what they say, and still nothing works.
    Lesson: Common Problems (and Their Solutions) (The Java™ Tutorials > Getting Started)

    Does anyone have better suggestions for me on what to do to make java work for me on my PC please?

    I will really appreciate your help.

    Thanks,
    Menre

  2. #2
    Join Date
    Feb 2008
    Location
    Guwahati, India
    Posts
    4
    Rep Power
    0

    Default set PATH

    hello, Menre
    I have not used TextPad, but i know that it an text editor only like EditPlus2. Not Java IDE. So, you can not complie or run java program there only.

    Next, as you mentioned
    'javac' is not recognized as an internal or external command, operable program or batch file'
    The above error message comes generally when the command typed in the console is not be recognized by the OS. Here, you have to set the PATH in the enviromental variable.

    thanks
    Abhijit

  3. #3
    ramapple is offline Member
    Join Date
    Feb 2008
    Posts
    7
    Rep Power
    0

    Default

    I recommend installing JCreator from here:
    JCreator — Java IDE It's an awesome program due to its user friendliness and has a sweet looking GUI. Give it a shot, and PM me if you have any problems getting it work work!

  4. #4
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    8

    Default

    Wish I saw this thread sooner... fyi, this thread has been moved to the proper forums. Menre, please read the FAQ before posting again. Thanks for understanding and your cooperation.

    Welcome to the forums and I hope your problem finds a resolution soon.
    Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
    Want to voice your opinion on your IDE/Editor of choice? Vote now!
    Got a little Capt'n in you? (drink responsibly)

  5. #5
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    6

    Default

    Quote Originally Posted by abhijitdas.cs@gmail.com View Post
    Here, you have to set the PATH in the enviromental variable.

    you can easily test if your environmental variable PATH is set correctly by entering

    java -version
    javac -help

    if the first command return the version and the second show a help page then everything is ok and you can compile and then run your app.

Similar Threads

  1. error installing J2EE
    By bbq in forum Web Frameworks
    Replies: 4
    Last Post: 02-07-2008, 02:42 PM
  2. Installing Java
    By Adv3nt in forum New To Java
    Replies: 3
    Last Post: 12-13-2007, 12:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •