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

Thread: Running error Javac

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

    Default Running error Javac


    I am the beginner in java program.i face some problem.please anyone help me.i describe problem below.
    1)i install java 7 on my pc
    2)but there is problem to run it.when i click the desktop icon of the java ,it starts installing.
    3)i make a program in notepad and set cmd. but when i type javac lima.java on cmd,javac is not understood by the cmd.

    what should i do?
    i have an assignment.but i can't understand .
    please help me to solve my problem.


  2. #2
    Member
    Join Date
    Sep 2012
    Posts
    128
    Thanks
    1
    Thanked 14 Times in 14 Posts

    Default Re: Running error Javac

    Most likely you haven't set the path properly or you skipped that step. When running the javac command, your system needs to know where to find the programs.

    Look at this installation guide and check the part where you update the path and environment variable.
    JDK 7 and JRE 7 Installation Guide

Similar Threads

  1. Getting Error in running Bully Algorithm
    By pk_12 in forum Algorithms & Recursion
    Replies: 2
    Last Post: February 16th, 2012, 07:26 PM
  2. [SOLVED] Program is running successfully but still getting error message..
    By sumit043020701 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: December 24th, 2011, 12:26 AM
  3. Error Running Java in Eclipse
    By steadyonabix in forum Java IDEs
    Replies: 1
    Last Post: September 3rd, 2011, 10:28 PM
  4. Error while running Applet
    By rameshiit19 in forum What's Wrong With My Code?
    Replies: 8
    Last Post: August 1st, 2011, 04:02 AM
  5. Runtime Error running in UVA
    By mathfxr in forum What's Wrong With My Code?
    Replies: 1
    Last Post: September 17th, 2010, 02:06 PM